mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 02:26:52 +08:00
15
lib/models_new/space/space/draw_src.dart
Normal file
15
lib/models_new/space/space/draw_src.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:PiliPlus/models_new/space/space/draw.dart';
|
||||
|
||||
class DrawSrc {
|
||||
int? srcType;
|
||||
Draw? draw;
|
||||
|
||||
DrawSrc({this.srcType, this.draw});
|
||||
|
||||
factory DrawSrc.fromJson(Map<String, dynamic> json) => DrawSrc(
|
||||
srcType: json['src_type'] as int?,
|
||||
draw: json['draw'] == null
|
||||
? null
|
||||
: Draw.fromJson(json['draw'] as Map<String, dynamic>),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user