ServiceCreateState class abstract

Implemented types

Constructors

ServiceCreateState({required ServiceModel serviceList, ServiceModel? selectedService, bool loading, bool isEditing})
const
factory

Properties

copyWith → _$$ServiceCreateStateImplCopyWith<_$ServiceCreateStateImpl>
no setter
hashCode int
The hash code for this object.
no setterinherited
isEditing bool
no setter
loading bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedService ServiceModel?
no setter
serviceList ServiceModel
no setter

Methods

map<TResult extends Object?>({required TResult empty(ServiceEmptyState value), required TResult isloading(ServiceIsloadingState value), required TResult multichecklistChanged(ServiceMultichecklistChangedState value), required TResult serviceCreate(ServiceCreateState value), required TResult serviceSearch(ServiceSearchState value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? empty(ServiceEmptyState value)?, TResult? isloading(ServiceIsloadingState value)?, TResult? multichecklistChanged(ServiceMultichecklistChangedState value)?, TResult? serviceCreate(ServiceCreateState value)?, TResult? serviceSearch(ServiceSearchState value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult empty(ServiceEmptyState value)?, TResult isloading(ServiceIsloadingState value)?, TResult multichecklistChanged(ServiceMultichecklistChangedState value)?, TResult serviceCreate(ServiceCreateState value)?, TResult serviceSearch(ServiceSearchState value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult empty()?, TResult isloading()?, TResult multichecklistChanged(String value, bool submitTriggered)?, TResult serviceCreate(ServiceModel serviceList, ServiceModel? selectedService, bool loading, bool isEditing)?, TResult serviceSearch(List<ServiceModel> serviceList, ServiceModel? selectedService, bool loading)?, 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 empty(), required TResult isloading(), required TResult multichecklistChanged(String value, bool submitTriggered), required TResult serviceCreate(ServiceModel serviceList, ServiceModel? selectedService, bool loading, bool isEditing), required TResult serviceSearch(List<ServiceModel> serviceList, ServiceModel? selectedService, bool loading)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? empty()?, TResult? isloading()?, TResult? multichecklistChanged(String value, bool submitTriggered)?, TResult? serviceCreate(ServiceModel serviceList, ServiceModel? selectedService, bool loading, bool isEditing)?, TResult? serviceSearch(List<ServiceModel> serviceList, ServiceModel? selectedService, bool loading)?}) → TResult?
inherited

Operators

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