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.
40 lines
1.1 KiB
40 lines
1.1 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'recook_fund_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
RecookFundModel _$RecookFundModelFromJson(Map<String, dynamic> json) {
|
|
return RecookFundModel(
|
|
json['code'],
|
|
json['msg'],
|
|
json['data'] == null
|
|
? null
|
|
: Data.fromJson(json['data'] as Map<String, dynamic>));
|
|
}
|
|
|
|
Map<String, dynamic> _$RecookFundModelToJson(RecookFundModel instance) =>
|
|
<String, dynamic>{
|
|
'code': instance.code,
|
|
'msg': instance.msg,
|
|
'data': instance.data
|
|
};
|
|
|
|
Data _$DataFromJson(Map<String, dynamic> json) {
|
|
return Data(
|
|
json['id'] as int,
|
|
(json['amount'] as num)?.toDouble(),
|
|
(json['unrecordedAmount'] as num)?.toDouble(),
|
|
json['havePassword'] as bool,
|
|
);
|
|
}
|
|
|
|
Map<String, dynamic> _$DataToJson(Data instance) => <String, dynamic>{
|
|
'id': instance.id,
|
|
'amount': instance.amount,
|
|
'unrecordedAmount': instance.unrecordedAmount,
|
|
'havePassword': instance.havePassword,
|
|
};
|