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