tokenStore top-level property

Store<String> tokenStore
final

Implementation

final tokenStore = Store<String>(
  storeName: 'tokens',
  deserialize: (bytes) => aesDecrypt(base64.encode(bytes), key),
  serialize: (value) => base64.decode(aesEncrypt(value, key)),
);