Keyset constructor
- @Deprecated('Use `userId` instead') UUID? uuid,
- UserId? userId,
- required String subscribeKey,
- String? publishKey,
- String? secretKey,
- String? authKey,
- @Deprecated('Use `cipherKey` at CryptoModule') CipherKey? cipherKey,
Implementation
Keyset({
@Deprecated('Use `userId` instead') UUID? uuid,
UserId? userId,
required this.subscribeKey,
this.publishKey,
this.secretKey,
this.authKey,
@Deprecated('Use `cipherKey` at CryptoModule') this.cipherKey,
}) : assert((uuid == null) ^ (userId == null)),
uuid = userId != null ? UUID(userId.value) : uuid!;