attribute property

String get attribute

Get attribute declaration code

Implementation

String get attribute => optional ? '$type? $name,' : 'required $type $name,';