62 lines
2.3 KiB
Dart
62 lines
2.3 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'home_controller.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_Category _$CategoryFromJson(Map<String, dynamic> json) => _Category(
|
|
name: json['name'] as String,
|
|
description: json['description'] as String,
|
|
image: json['image'] as String?,
|
|
label: json['label'] as String,
|
|
);
|
|
|
|
Map<String, dynamic> _$CategoryToJson(_Category instance) => <String, dynamic>{
|
|
'name': instance.name,
|
|
'description': instance.description,
|
|
'image': instance.image,
|
|
'label': instance.label,
|
|
};
|
|
|
|
_BillProvider _$BillProviderFromJson(Map<String, dynamic> json) =>
|
|
_BillProvider(
|
|
id: json['id'] as String,
|
|
clientId: json['clientId'] as String,
|
|
name: json['name'] as String,
|
|
description: json['description'] as String,
|
|
requiresAccount: json['requiresAccount'] as bool,
|
|
requiresAmount: json['requiresAmount'] as bool,
|
|
requiresAmountFromMerchant: json['requiresAmountFromMerchant'] as bool?,
|
|
requiresPhone: json['requiresPhone'] as bool,
|
|
requiresReversal: json['requiresReversal'] as bool?,
|
|
additionalDataString: json['additionalDataString'] as String?,
|
|
processorType: json['processorType'] as String?,
|
|
uid: json['uid'] as String,
|
|
image: json['image'] as String,
|
|
label: json['label'] as String,
|
|
category: json['category'] as String,
|
|
accountFieldName: json['accountFieldName'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> _$BillProviderToJson(_BillProvider instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'clientId': instance.clientId,
|
|
'name': instance.name,
|
|
'description': instance.description,
|
|
'requiresAccount': instance.requiresAccount,
|
|
'requiresAmount': instance.requiresAmount,
|
|
'requiresAmountFromMerchant': instance.requiresAmountFromMerchant,
|
|
'requiresPhone': instance.requiresPhone,
|
|
'requiresReversal': instance.requiresReversal,
|
|
'additionalDataString': instance.additionalDataString,
|
|
'processorType': instance.processorType,
|
|
'uid': instance.uid,
|
|
'image': instance.image,
|
|
'label': instance.label,
|
|
'category': instance.category,
|
|
'accountFieldName': instance.accountFieldName,
|
|
};
|