v1PathFormatFromJson function

v1PathFormat v1PathFormatFromJson(
  1. dynamic value
)

Implementation

v1PathFormat v1PathFormatFromJson(dynamic value) {
  switch (value) {
    case 'PATH_FORMAT_BIP32': return v1PathFormat.path_format_bip32;
    default: throw ArgumentError('Unknown v1PathFormat: $value');
  }
}