initFactory static method

Future<void> initFactory()

Implementation

static Future<void> initFactory() async {
  if (_initialized == false) {
    await DetectorFactory().loadProfile();
    _initialized = true;
  }
}