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
When the rule should start to be active, in Unix epoch time.
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
When the rule should stop to be active, in Unix epoch time.
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