register method

void register(
  1. String module,
  2. Map<String, String> stats
)

Register stats for a module (replaces previous stats for that module).

Implementation

void register(String module, Map<String, String> stats) {
  _stats[module] = Map.unmodifiable(stats);
}