TimeRange class

Constructors

TimeRange({required DateTime start, required DateTime end})
TimeRange.fromICalString(String icalString)
factory
TimeRange.fromJson(String source)
factory
TimeRange.fromMap(Map<String, dynamic> map)
factory

Properties

end DateTime
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start DateTime
final

Methods

copyWith({DateTime? start, DateTime? end}) TimeRange
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toICalString() String
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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