instance property

CustomSharePlatform instance
getter/setter pair

The singleton instance of the platform implementation.

By default, this is set to MethodChannelCustomShare, but it can be overridden for testing or custom implementations.

Implementation

static CustomSharePlatform instance = MethodChannelCustomShare();