instance property

InternalSessionUtils get instance

Returns the singleton instance of InternalSessionUtils.

Throws an Exception if the instance has not been initialized. Ensure that initialize() is called before accessing this instance.

Implementation

static InternalSessionUtils get instance {
  if (_instance == null) {
    throw Exception("Instance not initialized. Call initialize() first.");
  }
  return _instance!;
}