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
22 lines
766 B
Dart
22 lines
766 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'draw.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
Draw _$DrawFromJson(Map<String, dynamic> json) => Draw(
|
|
drawType: (json['draw_type'] as num?)?.toInt(),
|
|
fillMode: (json['fill_mode'] as num?)?.toInt(),
|
|
colorConfig: json['color_config'] == null
|
|
? null
|
|
: ColorConfig.fromJson(json['color_config'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$DrawToJson(Draw instance) => <String, dynamic>{
|
|
'draw_type': instance.drawType,
|
|
'fill_mode': instance.fillMode,
|
|
'color_config': instance.colorConfig,
|
|
};
|