constructorParam property
String
constructorParam
Implementation
String get constructorParam {
if (cfg.nnbd) {
return '${type.typeRepr}${type.isDynamic ? '' : '?'} $name,';
} else {
return '${type.typeRepr} $name, // ignore: always_require_non_null_named_parameters';
}
}