ensureInitialized static method

JotformFormMapper ensureInitialized()

Implementation

static JotformFormMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = JotformFormMapper._());
    JotformFormStatusMapper.ensureInitialized();
    JotformAnswerMapper.ensureInitialized();
    JotformFormTypeMapper.ensureInitialized();
    JotformFormPaymentPropsMapper.ensureInitialized();
  }
  return _instance!;
}