instance property

VideoPlayerPlatform get instance

Implementation

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

Implementation

static set instance(VideoPlayerPlatform instance) {
  if (!instance.isMock) {
    try {
      instance._verifyProvidesDefaultImplementations();
    } on NoSuchMethodError catch (_) {
      throw AssertionError('Platform interfaces must not be implemented with `implements`');
    }
  }
  _instance = instance;
}