codeNodes method
Implementation
@override
List<CodeNode> codeNodes(Context context) => [
if (required) Code('@required'),
if (required) Space(),
if (this$) KeyWord.this$,
if (this$) Code('.'),
if (!this$ && type == null) Code('var'),
if (!this$ && type != null) type!,
if (!this$) Space(),
name,
if (defaultValue != null) Space(),
if (defaultValue != null) Code('='),
if (defaultValue != null) Space(),
if (defaultValue != null) defaultValue!,
];