instance property

SmartGrowLogs get instance

Get the singleton instance Throws if not initialized

Implementation

static SmartGrowLogs get instance {
  if (_instance == null) {
    throw StateError(
      'SmartGrowLogs not initialized. Call SmartGrowLogs.initialize() first.',
    );
  }
  return _instance!;
}