fromAst static method

SelectAstClass? fromAst(
  1. Map? ast
)

Implementation

static SelectAstClass? fromAst(Map? ast) {
  if (ast != null) {
    return SelectAstClass(
        name: ast['name'],
        metadata: ast['metadata'],
        version: ast['version'],
        filePath: ast['filePath'],
        classId: ast['classId']);
  }
  return null;
}