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