mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-06 16:40:32 +00:00
20 lines
398 B
Dart
20 lines
398 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'start_config.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class StartConfig {
|
|
String storage;
|
|
String storageDir;
|
|
|
|
StartConfig({
|
|
this.storage = '',
|
|
this.storageDir = '',
|
|
});
|
|
|
|
factory StartConfig.fromJson(Map<String, dynamic> json) =>
|
|
_$StartConfigFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$StartConfigToJson(this);
|
|
}
|