Files
PiliPlus/lib/models_new/space/space/draw_src.dart
bggRGjQaUbCoE 418a1e8d39 reformat
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-23 16:47:11 +08:00

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>),
);
}