AuthorizationKey constructor

const AuthorizationKey(
  1. int id,
  2. List<int> key,
  3. int salt
)

Constructor.

Implementation

const AuthorizationKey(this.id, this.key, this.salt)
    : assert(id != 0, 'Id must not be zero.'),
      assert(key.length == 256, 'Key must be 256 bytes.');