Realtime class
Constructors
Properties
- dateTime → DateTime
-
no setter
- day → int
-
final
- diff → Duration
-
final
- future → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hour → int
-
final
- minute → int
-
final
- month → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- second → int
-
final
- week → int
-
final
- year → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- date ↔ String Function(DateTime date)?
-
getter/setter pair
- formats ↔ RealtimeTextFormats
-
getter/setter pair
- options ↔ RealtimeOptions
-
getter/setter pair
- time ↔ String Function(DateTime date)?
-
getter/setter pair
Static Methods
-
format(
DateTime dateTime, {RealtimeTextFormats? formats, RealtimeOptions? options, String separator = " at ", String time(DateTime date)?, String date(DateTime date)?}) → String