verify static method

void verify(
  1. TransactionPlatform instance
)
override

Throws an AssertionError if instance does not extend TransactionPlatform.

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

Implementation

static void verify(TransactionPlatform instance) {
  PlatformInterface.verify(instance, _token);
}