fromWire static method

AccountType fromWire(
  1. String wire
)

Implementation

static AccountType fromWire(String wire) => values.firstWhere(
  (value) => value.wire == wire,
  orElse: () =>
      throw FormatException('Unknown AccountType wire value: $wire'),
);