instance property

ParsePlistPlatform get instance

The default instance of ParsePlistPlatform to use.

Defaults to MethodChannelParsePlist.

Implementation

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

Platform-specific implementations should set this with their own platform-specific class that extends ParsePlistPlatform when they register themselves.

Implementation

static set instance(ParsePlistPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}