mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
21 lines
386 B
Dart
21 lines
386 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'draw.dart';
|
|
|
|
part 'draw_src.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class DrawSrc {
|
|
@JsonKey(name: 'src_type')
|
|
int? srcType;
|
|
Draw? draw;
|
|
|
|
DrawSrc({this.srcType, this.draw});
|
|
|
|
factory DrawSrc.fromJson(Map<String, dynamic> json) {
|
|
return _$DrawSrcFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$DrawSrcToJson(this);
|
|
}
|