mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 09:06:36 +08:00
16 lines
368 B
Dart
16 lines
368 B
Dart
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>),
|
|
);
|
|
}
|