You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.0 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'base_data.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
BaseData _$BaseDataFromJson(Map<String, dynamic> json) {
return BaseData()
..code = json['code'] as int
..data = json['data']
..extra = json['extra'] == null
? null
: BaseDataExtra.fromJson(json['extra'] as Map<String, dynamic>)
..isError = json['isError'] as bool
..isSuccess = json['isSuccess'] as bool
..msg = json['msg'] as String
..path = json['path'] as String
..timestamp = json['timestamp'] as String;
}
Map<String, dynamic> _$BaseDataToJson(BaseData instance) => <String, dynamic>{
'code': instance.code,
'data': instance.data,
'extra': instance.extra,
'isError': instance.isError,
'isSuccess': instance.isSuccess,
'msg': instance.msg,
'path': instance.path,
'timestamp': instance.timestamp,
};