instance property

GetnetPosPlatform get instance

Gets the current platform-specific implementation of GetnetPosPlatform.

Implementation

static GetnetPosPlatform get instance => _instance;
set instance (GetnetPosPlatform instance)

Sets a custom platform-specific implementation of GetnetPosPlatform.

This is useful for testing or for providing alternative implementations.

Implementation

static set instance(GetnetPosPlatform instance) {
  _instance = instance;
}