// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'payment_method_model.dart';

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

PaymentMethodModel _$PaymentMethodModelFromJson(Map<String, dynamic> json) =>
    PaymentMethodModel(
      id: (json['id'] as num?)?.toInt(),
      code: json['code'] as String?,
      name: json['name'] as String?,
      logo: json['logo'] as String?,
      saveToken: json['save_token'] as bool?,
      isSelected: json['isSelected'] as bool?,
      needSaveTokenWhenOrder: json['needSaveTokenWhenOrder'] as bool?,
    );

Map<String, dynamic> _$PaymentMethodModelToJson(PaymentMethodModel instance) =>
    <String, dynamic>{
      'id': instance.id,
      'code': instance.code,
      'name': instance.name,
      'logo': instance.logo,
      'save_token': instance.saveToken,
      'isSelected': instance.isSelected,
      'needSaveTokenWhenOrder': instance.needSaveTokenWhenOrder,
    };
