init static method

Future<void> init()

Implementation

static Future<void> init() async => (await pollDelegator())
  ..onBad((String reason) => doesApiExists = false)
  ..onGood((JsonBody value) {
    doesApiExists = true;
    Debug().info("Superagent API exists with ${value.toString()}");
  });