mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
Refactor member page (#3)
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
20
lib/models/space/draw_src.dart
Normal file
20
lib/models/space/draw_src.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user