property static method

String property(
  1. List<Property> properties
)

create property

Implementation

static String property(List<Property> properties) {
  String propertyStr = "";
  properties.forEach((property) {
    String typeStr = _getPropertyStr(property);
    String name = property.name;
    propertyStr += "$typeStr$name;\n";
  });
  return propertyStr;
}