ensureInitialized static method

TeamColorMapper ensureInitialized()

Implementation

static TeamColorMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = TeamColorMapper._());
  }
  return _instance!;
}