ReferenceToken constructor

ReferenceToken(
  1. String token
)

Implementation

ReferenceToken(this.token) {
  if (token.isEmpty) {
    throw ArgumentError('Token cannot be empty.');
  }

  if (token.length > 64) {
    throw ArgumentError('Token cannot be longer than 64 characters.');
  }
}