instance property

SharedStateManager get instance

Returns the singleton instance of SharedStateManager.

Creates the instance on first access.

Implementation

static SharedStateManager get instance {
  _instance ??= SharedStateManager._();
  return _instance!;
}