FlexibleTimeRange class

Specifies a flexible time range with flexible start time and duration.

It is possible to specify a contradictory time range that cannot be matched by any Interval.

This causes a validation error.

Constructors

FlexibleTimeRange({String? maxDuration, String? minDuration, String? startTimeNotEarlierThan, String? startTimeNotLaterThan})
FlexibleTimeRange.fromJson(Map json_)

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxDuration ↔ String?
getter/setter pair
minDuration ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startTimeNotEarlierThan ↔ String?
getter/setter pair
startTimeNotLaterThan ↔ String?
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