whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? empty()?,
  2. TResult? isloading()?,
  3. TResult? multichecklistChanged(
    1. String value,
    2. bool submitTriggered
    )?,
  4. TResult? serviceCreate(
    1. ServiceModel serviceList,
    2. ServiceModel? selectedService,
    3. bool loading,
    4. bool isEditing,
    )?,
  5. TResult? serviceSearch(
    1. List<ServiceModel> serviceList,
    2. ServiceModel? selectedService,
    3. bool loading
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function()? empty,
  TResult? Function()? isloading,
  TResult? Function(String value, bool submitTriggered)?
      multichecklistChanged,
  TResult? Function(ServiceModel serviceList, ServiceModel? selectedService,
          bool loading, bool isEditing)?
      serviceCreate,
  TResult? Function(List<ServiceModel> serviceList,
          ServiceModel? selectedService, bool loading)?
      serviceSearch,
}) =>
    throw _privateConstructorUsedError;