maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult oneOf(
    1. OneOfExpectation value
    )?,
  2. TResult statement(
    1. StatementExpectation value
    )?,
  3. TResult token(
    1. TokenExpectation value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(OneOfExpectation value)? oneOf,
  TResult Function(StatementExpectation value)? statement,
  TResult Function(TokenExpectation value)? token,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;