childControllerStats property

Map<String, int> get childControllerStats

Get stats about child controllers

Implementation

Map<String, int> get childControllerStats {
  final stats = <String, int>{};
  for (final controller in _childControllers) {
    final type = controller.runtimeType.toString();
    stats[type] = (stats[type] ?? 0) + 1;
  }
  return stats;
}