enumCount property

int enumCount

Returns the number of enum types generated in the .pbenum.dart file.

Implementation

int get enumCount {
  var count = enumGenerators.length;
  for (final m in messageGenerators) {
    count += m.enumCount;
  }
  return count;
}