ensureInitialized static method

DocumentModelMapper ensureInitialized()

Implementation

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