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