- Copy all used dart_framework files into lib/framework/ - Replace all package:dart_framework/ imports with package:oto_cli/framework/ - Add yaml, archive, ftpconnect as explicit direct dependencies - Remove dart_framework git dependency from pubspec.yaml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
393 B
Dart
18 lines
393 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'app_data.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class AppData {
|
|
AppData();
|
|
|
|
late String name;
|
|
late String version;
|
|
late int? gitCount;
|
|
late String gitHash;
|
|
late String buildDate;
|
|
|
|
factory AppData.fromJson(Map<String, dynamic> json) =>
|
|
_$AppDataFromJson(json);
|
|
Map<String, dynamic> toJson() => _$AppDataToJson(this);
|
|
}
|