// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'bank_account_info_model.dart';

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

BankAccountInfoModel _$BankAccountInfoModelFromJson(
  Map<String, dynamic> json,
) => BankAccountInfoModel(
  id: (json['id'] as num?)?.toInt(),
  paymentMethod: json['payment_method'] as String?,
  cardName: json['card_name'] as String?,
  cardNumber: json['card_number'] as String?,
  cardDate: json['card_date'] as String?,
  bankLogo: json['bank_logo'] as String?,
  bankName: json['bank_name'] as String?,
  bankShortName: json['bank_short_name'] as String?,
  bankCode: json['bank_code'] as String?,
  isDefault: json['is_default'] as bool?,
  isSelected: json['isSelected'] as bool? ?? false,
  formBankTitle: json['form_bank_title'] as String?,
  formBankNumberTitle: json['form_bank_number_title'] as String?,
  formMessageDelete: json['form_message_delete'] as String?,
  formBankBackground: json['form_bank_background'] as String?,
  formBankName: json['form_bank_name'] as String?,
  formBankNumber: json['form_bank_number'] as String?,
);

Map<String, dynamic> _$BankAccountInfoModelToJson(
  BankAccountInfoModel instance,
) => <String, dynamic>{
  'id': instance.id,
  'payment_method': instance.paymentMethod,
  'card_name': instance.cardName,
  'card_number': instance.cardNumber,
  'card_date': instance.cardDate,
  'bank_logo': instance.bankLogo,
  'bank_name': instance.bankName,
  'bank_short_name': instance.bankShortName,
  'bank_code': instance.bankCode,
  'is_default': instance.isDefault,
  'isSelected': instance.isSelected,
  'form_bank_title': instance.formBankTitle,
  'form_bank_number_title': instance.formBankNumberTitle,
  'form_message_delete': instance.formMessageDelete,
  'form_bank_background': instance.formBankBackground,
  'form_bank_name': instance.formBankName,
  'form_bank_number': instance.formBankNumber,
};
