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