maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult create(
    1. ServiceModel serviceModel
    )?,
  2. TResult search(
    1. ServiceSearchModel serviceSearchModel
    )?,
  3. TResult multichecklistChanged(
    1. String value,
    2. bool submitTriggered
    )?,
  4. TResult selectService(
    1. ServiceModel service
    )?,
  5. TResult resetSelected(
    1. List<ServiceModel> serviceList
    )?,
  6. 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;