TextEntityTypeDateTime.fromJson constructor
Parses a TextEntityTypeDateTime from TDLib JSON.
Implementation
factory TextEntityTypeDateTime.fromJson(Map<String, dynamic> json) =>
TextEntityTypeDateTime(
unixTime: _readInt(json['unix_time']),
formattingType: _readOptional(
json['formatting_type'],
DateTimeFormattingType.fromJson,
),
);