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