PlatformInterface constructor

PlatformInterface({
  1. required Object token,
})

Constructs a PlatformInterface, for use only in constructors of abstract derived classes.

@param token The same, non-const Object that will be passed to verify.

Implementation

PlatformInterface({required Object token}) {
  _instanceTokens[this] = token;
}