whenOrNull<TResult extends Object?> method

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

Implementation

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