when<TResult extends Object?> method

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

Implementation

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