instance property

The current default FirebasePerformancePlatform instance.

It will always default to MethodChannelFirebasePerformance if no other implementation was provided.

Implementation

static FirebasePerformancePlatform get instance {
  return _instance ??= MethodChannelFirebasePerformance.instance;
}
void instance=(FirebasePerformancePlatform instance)

Sets the FirebasePerformancePlatform instance.

Implementation

static set instance(FirebasePerformancePlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}