assertStatement abstract method

AssertStatement assertStatement(
  1. Token assertKeyword,
  2. Token leftParenthesis,
  3. Expression condition,
  4. Token? comma,
  5. Expression? message,
  6. Token rightParenthesis,
  7. Token semicolon,
)

Returns a newly created assert statement. The comma and message can be null if there is no message.

Implementation

AssertStatement assertStatement(
    Token assertKeyword,
    Token leftParenthesis,
    Expression condition,
    Token? comma,
    Expression? message,
    Token rightParenthesis,
    Token semicolon);