ensureInitialized static method

SectionDataMapper ensureInitialized()

Implementation

static SectionDataMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = SectionDataMapper._());
    MapperBase.addType(<A, B>(f) => f<({A content, B options})>());
  }
  return _instance!;
}