instance property

SyncLayerCore get instance

Implementation

static SyncLayerCore get instance {
  if (_instance == null || !_isInitialized) {
    throw StateError(
      'SyncLayer not initialized. Call SyncLayer.init() first.',
    );
  }
  return _instance!;
}