mirrored_repositories/espresso-cash-public/packages/espressocash_api/lib
// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'exception.dart';

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

EspressoCashException _$EspressoCashExceptionFromJson(
        Map<String, dynamic> json) =>
    EspressoCashException(
      error: $enumDecode(_$EspressoCashErrorEnumMap, json['error']),
    );

Map<String, dynamic> _$EspressoCashExceptionToJson(
        EspressoCashException instance) =>
    <String, dynamic>{
      'error': _$EspressoCashErrorEnumMap[instance.error]!,
    };

const _$EspressoCashErrorEnumMap = {
  EspressoCashError.invalidEscrowAccount: 'InvalidEscrowAccount',
};
