build method

  1. @override
String build()
override

Implementation

@override
String build() {
  final sb = StringBuffer();

  sb.write('@property');
  sb.write('(');
  sb.write(_propertyType());
  sb.write(')');
  sb.write(' ');
  sb.write(OCReference(field.type).build());
  sb.write(' ');
  sb.write(field.name);
  sb.write(';');

  return OneLine(depth: depth, body: sb.toString()).build();
}