maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult create(
- ServiceModel serviceModel
- TResult search(
- ServiceSearchModel serviceSearchModel
- TResult multichecklistChanged()?,
- TResult selectService(
- ServiceModel service
- TResult resetSelected(
- List<
ServiceModel> serviceList
- List<
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(ServiceModel serviceModel)? create,
TResult Function(ServiceSearchModel serviceSearchModel)? search,
TResult Function(String value, bool submitTriggered)? multichecklistChanged,
TResult Function(ServiceModel service)? selectService,
TResult Function(List<ServiceModel> serviceList)? resetSelected,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;