javaPrivateFields method

List<CodeUnit> javaPrivateFields()

Implementation

List<CodeUnit> javaPrivateFields() {
  return privateFields
      .map((field) => JavaField(field, depth: depth + 1, isPrivate: true))
      .toList();
}