whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? empty()?,
  2. TResult? isloading()?,
  3. TResult? serviceDefinitionFetch(
    1. List<ServiceDefinitionModel> serviceDefinitionList,
    2. ServiceDefinitionModel? selectedServiceDefinition
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function()? empty,
  TResult? Function()? isloading,
  TResult? Function(List<ServiceDefinitionModel> serviceDefinitionList,
          ServiceDefinitionModel? selectedServiceDefinition)?
      serviceDefinitionFetch,
}) =>
    throw _privateConstructorUsedError;