CodeGenNode.fromJson constructor
Implementation
factory CodeGenNode.fromJson(Map<String, dynamic> json) {
return CodeGenNode(
args: (json['Args'] as List)
.whereNotNull()
.map((e) => CodeGenNodeArg.fromJson(e as Map<String, dynamic>))
.toList(),
id: json['Id'] as String,
nodeType: json['NodeType'] as String,
lineNumber: json['LineNumber'] as int?,
);
}