Timestamp class

A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970.

Constructors

Timestamp()
Timestamp.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
nanos int
Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seconds String
Represents seconds of UTC time since Unix epoch.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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