redeclare property

String redeclare

Implementation

String get redeclare {
  var str = "";
  this.metadata.forEach((element) {
    str += "${element.toSource()} ";
  });
  str +=
      "${this.isRequiredNamed ? 'required ' : ''}${this.type.getDisplayString(withNullability: true)} ${this.name}";
  return str;
}