maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult env(
    1. String name
    )?,
  2. TResult value(
    1. String value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String name)? env,
  TResult Function(String value)? value,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;