javaPublicFields method

List<CodeUnit> javaPublicFields()

Implementation

List<CodeUnit> javaPublicFields() {
  return publicFields
      .map((field) => JavaField(field, depth: depth + 1, isPublic: true))
      .toList();
}