TimestampConverter class

A converter that helps in converting a timestamp from a string to an integer and vice versa.

Constructors

TimestampConverter()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJson(String value) int
Converts a timestamp string to its integer representation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(int value) String
Converts a timestamp integer to its string representation.
toString() String
A string representation of this object.
inherited

Operators

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