ErrorCodeOther.fromJson constructor
ErrorCodeOther.fromJson(
- Object? value
Implementation
factory ErrorCodeOther.fromJson(Object? value) {
final decoded = ErrorCode.fromJson(value);
if (decoded is! ErrorCodeOther) {
throw const AcpWireDecodeException('Expected ErrorCodeOther.');
}
return decoded;
}