|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
-
- part of 'widget_model.dart';
-
- // **************************************************************************
- // JsonSerializableGenerator
- // **************************************************************************
-
- WidgetModel _$WidgetModelFromJson(Map<String, dynamic> json) {
- return WidgetModel(
- json['aspect_ratio'] as String,
- json['badge'] as String,
- json['bg_color'] as String,
- json['bg_color_t'] as String,
- json['bg_img'] as String,
- (json['components'] as List)
- ?.map((e) =>
- e == null ? null : WidgetModel.fromJson(e as Map<String, dynamic>))
- ?.toList(),
- json['data'] as String,
- json['font_color'] as String,
- json['icon'] as String,
- json['img'] as String,
- json['is_global'] as int,
- json['margin'] as String,
- json['mod_id'] as int,
- json['mod_name'] as String,
- json['mod_pid'] as int,
- json['path'] as String,
- json['position'] as String,
- json['sort'] as int,
- json['subtitle'] as String,
- json['title'] as String,
- json['url'] as String,
- );
- }
-
- Map<String, dynamic> _$WidgetModelToJson(WidgetModel instance) =>
- <String, dynamic>{
- 'aspect_ratio': instance.aspectRatio,
- 'badge': instance.badge,
- 'bg_color': instance.bgColor,
- 'bg_color_t': instance.bgColorT,
- 'bg_img': instance.bgImg,
- 'components': instance.components,
- 'data': instance.data,
- 'font_color': instance.fontColor,
- 'icon': instance.icon,
- 'img': instance.img,
- 'is_global': instance.isGlobal,
- 'margin': instance.margin,
- 'mod_id': instance.modId,
- 'mod_name': instance.modName,
- 'mod_pid': instance.modPid,
- 'path': instance.path,
- 'position': instance.position,
- 'sort': instance.sort,
- 'subtitle': instance.subtitle,
- 'title': instance.title,
- 'url': instance.url,
- };
|