when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult create(
    1. ServiceModel serviceModel
    ),
  2. required TResult search(
    1. ServiceSearchModel serviceSearchModel
    ),
  3. required TResult multichecklistChanged(
    1. String value,
    2. bool submitTriggered
    ),
  4. required TResult selectService(
    1. ServiceModel service
    ),
  5. required TResult resetSelected(
    1. List<ServiceModel> serviceList
    ),
})
inherited

Implementation

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