whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<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
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
    throw _privateConstructorUsedError;