Timestamp class
- Annotations
-
- @immutable
Constructors
- Timestamp.fromDate(DateTime date)
-
Creates a new timestamp from the given date.
factory
- Timestamp.fromMillis(int milliseconds)
-
Creates a new timestamp from the given number of milliseconds.
factory
- Timestamp.now()
-
Creates a new timestamp with the current date, with millisecond precision.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- nanoseconds → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seconds → 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override