instance property

PcmToOggPlatform get instance

Implementation

static PcmToOggPlatform get instance {
  if (_instance == null) {
    throw Exception(
      'PcmToOggPlatform not registered. Ensure the platform implementation is set.',
    );
  }
  return _instance!;
}
set instance (PcmToOggPlatform impl)

Implementation

static set instance(PcmToOggPlatform impl) {
  _instance = impl;
}