when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult fetch(),
  2. required TResult selectServiceDefinition(
    1. ServiceDefinitionModel serviceDefinition
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function() fetch,
  required TResult Function(ServiceDefinitionModel serviceDefinition)
      selectServiceDefinition,
}) =>
    throw _privateConstructorUsedError;