maybeWhen<TResult extends Object?> method

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

Implementation

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