verify static method

void verify(
  1. PlatformInterface instance,
  2. Object token
)

Implementation

static void verify(PlatformInterface instance, Object token) {
  if (identical(instance._instanceToken, const Object())) {
    throw AssertionError('`const Object()` cannot be used as the token.');
  }
  _verify(instance, token);
}