TimeRange class final

Annotations
  • @JsonSerializable()

Constructors

TimeRange({required int from, required int until})
Returns a new TimeRange instance.
const
TimeRange.fromJson(Map<String, dynamic> json)
factory

Properties

from int
Lower bound of the time range (Unix timestamp).
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
until int
Upper bound of the time range (Unix timestamp).
final

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.
override

Operators

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