Date class

Represents a date according to the Gregorian calendar.

Inheritance
Available Extensions

Constructors

Date({required int day, required int month, required int year, int? extra, int? clientId})
Represents a date according to the Gregorian calendar

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
day int
Day of the month; 1-31.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
month int
Month; 1-12.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
year int
Year; 1-9999.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) Date?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"date"