AssertStmt constructor

AssertStmt(
  1. ASTNode expr, {
  2. ASTNode? description,
  3. bool hasEndOfStmtMark = false,
  4. HTSource? source,
  5. int line = 0,
  6. int column = 0,
  7. int offset = 0,
  8. int length = 0,
})

Implementation

AssertStmt(
  this.expr, {
  this.description,
  super.hasEndOfStmtMark = false,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(
        InternalIdentifier.assertStatement,
        isAwait: expr.isAwait,
      );