mapOrNull<TResult extends Object?> method

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

Implementation

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