SnoozePeriod class

The SnoozePeriod class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

SnoozePeriod.new({required bool isSnoozeOn, DateTime? startDate, DateTime? endDate})

Properties

endDate DateTime?
End date of snooze period.
final
hashCode int
The hash code for this object.
no setterinherited
isSnoozeOn bool
Flag for the snooze is on or off.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate DateTime?
Start date of snooze period.
final

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) SnoozePeriod