ServiceEvent class

Implementers
Annotations
  • @freezed

Constructors

ServiceEvent.create({required ServiceModel serviceModel})
const
factory
ServiceEvent.multichecklistChanged({required String value, required bool submitTriggered})
const
factory
ServiceEvent.resetSelected({required List<ServiceModel> serviceList})
const
factory
ServiceEvent.search({required ServiceSearchModel serviceSearchModel})
const
factory
ServiceEvent.selectService({required ServiceModel service})
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 create(ServiceCreateEvent value), required TResult search(ServiceSearchEvent value), required TResult multichecklistChanged(ServiceChecklistEvent value), required TResult selectService(ServiceSelectionEvent value), required TResult resetSelected(ServiceResetEvent value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? create(ServiceCreateEvent value)?, TResult? search(ServiceSearchEvent value)?, TResult? multichecklistChanged(ServiceChecklistEvent value)?, TResult? selectService(ServiceSelectionEvent value)?, TResult? resetSelected(ServiceResetEvent value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult create(ServiceCreateEvent value)?, TResult search(ServiceSearchEvent value)?, TResult multichecklistChanged(ServiceChecklistEvent value)?, TResult selectService(ServiceSelectionEvent value)?, TResult resetSelected(ServiceResetEvent value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult create(ServiceModel serviceModel)?, TResult search(ServiceSearchModel serviceSearchModel)?, TResult multichecklistChanged(String value, bool submitTriggered)?, TResult selectService(ServiceModel service)?, TResult resetSelected(List<ServiceModel> serviceList)?, 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 create(ServiceModel serviceModel), required TResult search(ServiceSearchModel serviceSearchModel), required TResult multichecklistChanged(String value, bool submitTriggered), required TResult selectService(ServiceModel service), required TResult resetSelected(List<ServiceModel> serviceList)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? create(ServiceModel serviceModel)?, TResult? search(ServiceSearchModel serviceSearchModel)?, TResult? multichecklistChanged(String value, bool submitTriggered)?, TResult? selectService(ServiceModel service)?, TResult? resetSelected(List<ServiceModel> serviceList)?}) → TResult?
inherited

Operators

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