DateTimeFormattingTypeAbsolute class final

The date and time must be shown as absolute timestamps

Inheritance

Constructors

DateTimeFormattingTypeAbsolute({required DateTimePartPrecision timePrecision, required DateTimePartPrecision datePrecision, required bool showDayOfWeek})
The date and time must be shown as absolute timestamps
const
DateTimeFormattingTypeAbsolute.fromJson(Map<String, dynamic> json)
Parses a DateTimeFormattingTypeAbsolute from TDLib JSON.
factory

Properties

clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
datePrecision → DateTimePartPrecision
The precision with which the date is shown
final
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showDayOfWeek → bool
True, if the day of week must be shown
final
timePrecision → DateTimePartPrecision
The precision with which hours, minutes and seconds are shown
final

Methods

copyWith({DateTimePartPrecision? timePrecision, DateTimePartPrecision? datePrecision, bool? showDayOfWeek}) → DateTimeFormattingTypeAbsolute
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String
TDLib type name.