ScheduleTimeEvent class

Implementers
Annotations
  • @freezed

Constructors

ScheduleTimeEvent.cancel(BuildContext context, {bool? shouldPop})
const
factory
ScheduleTimeEvent.changeTimeType(ScheduleTimeType timeType)
const
factory
ScheduleTimeEvent.save(BuildContext context)
const
factory
ScheduleTimeEvent.setTime(DateTime time)
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult changeTimeType(ChangeTimeType value), required TResult setTime(SetTime value), required TResult save(Save value), required TResult cancel(Cancel value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? changeTimeType(ChangeTimeType value)?, TResult? setTime(SetTime value)?, TResult? save(Save value)?, TResult? cancel(Cancel value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult changeTimeType(ChangeTimeType value)?, TResult setTime(SetTime value)?, TResult save(Save value)?, TResult cancel(Cancel value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult changeTimeType(ScheduleTimeType timeType)?, TResult setTime(DateTime time)?, TResult save(BuildContext context)?, TResult cancel(BuildContext context, bool? shouldPop)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult changeTimeType(ScheduleTimeType timeType), required TResult setTime(DateTime time), required TResult save(BuildContext context), required TResult cancel(BuildContext context, bool? shouldPop)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? changeTimeType(ScheduleTimeType timeType)?, TResult? setTime(DateTime time)?, TResult? save(BuildContext context)?, TResult? cancel(BuildContext context, bool? shouldPop)?}) → TResult?
inherited

Operators

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