fromWire static method
Implementation
static GatewayErrorCode fromWire(String? value) {
if (value == null) return GatewayErrorCode.unknown;
for (final c in GatewayErrorCode.values) {
if (c.wire == value) return c;
}
return GatewayErrorCode.unknown;
}