map<TResult extends Object?> method

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

Implementation

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