verify static method
Throws an AssertionError if instance
does not extend
DocumentSnapshotPlatform
.
This is used by the app-facing DocumentSnapshot
to ensure that
the object in which it's going to delegate calls has been
constructed properly.
Implementation
static void verify(DataSnapshotPlatform instance) {
PlatformInterface.verify(instance, _token);
}