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