instance property

RtBaseHelper get instance

Gets the singleton instance of RtBaseHelper.

Creates the instance on first access and returns the same instance on subsequent calls.

Example:

final helper = RtBaseHelper.instance;
bool connected = helper.checkIsConnected(results);

Implementation

static RtBaseHelper get instance => _instance ??= RtBaseHelper._();