propertyStr property

String get propertyStr

Implementation

String get propertyStr {
  StringBuffer val = StringBuffer();
  if (this.isStatic!) {
    val.write("static");
    val.write(' ');
  } else if (this.isConst!) {
    val.write("const");
    val.write(' ');
  } else {
    val.write('final');
    val.write(' ');
  }
  return "${val.toString()}  ${this.type}   ${this.name}";
}