ensureInitialized static method

IgnoreEqualityBoxMapper ensureInitialized()

Implementation

static IgnoreEqualityBoxMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = IgnoreEqualityBoxMapper._());
    MapperContainer.globals.useAll([IgnoreForEquality()]);
  }
  return _instance!;
}