KeyId constructor

KeyId(
  1. Object keyid
)

Creates a KeyId instance initialized with the given keyid.

The keyid must be either a num or a String.

Implementation

KeyId(this.keyid) {
  checkState(keyid is num || keyid is String);
}