instance property

Webify get instance

Get the singleton instance. Throws if initialize hasn't been called.

Implementation

static Webify get instance {
  assert(
    _instance != null,
    'Webify.initialize() must be called before accessing Webify.instance. '
    'Call it in your main() before runApp().',
  );
  return _instance!;
}