when<TResult extends Object?> method

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

Implementation

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