maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult noConnection()?,
  2. TResult result(
    1. T result
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function()? noConnection,
  TResult Function(T result)? result,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;