toDeclStmt method

DeclareVarStmt toDeclStmt([
  1. OutputType? type,
  2. List<StmtModifier> modifiers = const []
])

Implementation

DeclareVarStmt toDeclStmt(
    [OutputType? type, List<StmtModifier> modifiers = const []]) {
  return DeclareVarStmt(name, value, type, modifiers);
}