instance property

TwinScreenPlatform instance
getter/setter pair

The implementation in use. Defaults to MethodChannelTwinScreen.

Assign a fake to replace the platform, for example in tests.

Implementation

static TwinScreenPlatform instance = MethodChannelTwinScreen();