whenOrNull<TResult extends Object?> method

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

Implementation

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