verifyExtends static method

void verifyExtends(
  1. AggregateQuerySnapshotPlatform instance
)

Throws an AssertionError if instance does not extend AggregateQuerySnapshotPlatform.

This is used by the app-facing AggregateQuerySnapshot to ensure that the object in which it's going to delegate calls has been constructed properly.

Implementation

static void verifyExtends(AggregateQuerySnapshotPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
}