Interval class

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).The start must be less than or equal to the end.

When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.

Constructors

Interval({String? endTime, String? startTime})
Interval.fromJson(Map json_)

Properties

endTime String?
Exclusive end of the interval.If specified, a Timestamp matching this interval will have to be before the end.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime String?
Inclusive start of the interval.If specified, a Timestamp matching this interval will have to be the same or after the start.
getter/setter pair

Methods

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

Operators

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