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