McpRequestState constructor
key is the server's secret; at least 32 bytes.
Implementation
McpRequestState(List<int> key, {this.ttl = const Duration(minutes: 5)})
: _hmac = Hmac(sha256, key) {
if (key.length < 32) {
throw ArgumentError.value(key.length, 'key', 'must be at least 32 bytes');
}
}