// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'batch_item_update_model.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

GroupBatchItemUpdateRequest _$GroupBatchItemUpdateRequestFromJson(
  Map<String, dynamic> json,
) => GroupBatchItemUpdateRequest(
  id: json['id'] as String?,
  amount: (json['amount'] as num?)?.toDouble(),
  recipientName: json['recipientName'] as String?,
  recipientPhone: json['recipientPhone'] as String?,
  billClientId: json['billClientId'] as String?,
  billName: json['billName'] as String?,
  billProductName: json['billProductName'] as String?,
  providerImage: json['providerImage'] as String?,
  providerLabel: json['providerLabel'] as String?,
);

Map<String, dynamic> _$GroupBatchItemUpdateRequestToJson(
  GroupBatchItemUpdateRequest instance,
) => <String, dynamic>{
  'id': instance.id,
  'amount': instance.amount,
  'recipientName': instance.recipientName,
  'recipientPhone': instance.recipientPhone,
  'billClientId': instance.billClientId,
  'billName': instance.billName,
  'billProductName': instance.billProductName,
  'providerImage': instance.providerImage,
  'providerLabel': instance.providerLabel,
};

GroupBatchItemUpdateList _$GroupBatchItemUpdateListFromJson(
  Map<String, dynamic> json,
) => GroupBatchItemUpdateList(
  items: (json['items'] as List<dynamic>?)
      ?.map(
        (e) => GroupBatchItemUpdateRequest.fromJson(e as Map<String, dynamic>),
      )
      .toList(),
  workspaceId: json['workspaceId'] as String?,
);

Map<String, dynamic> _$GroupBatchItemUpdateListToJson(
  GroupBatchItemUpdateList instance,
) => <String, dynamic>{
  'items': instance.items?.map((e) => e.toJson()).toList(),
  'workspaceId': instance.workspaceId,
};
