setSymKey method

  1. @override
Future<String> setSymKey({
  1. required String symKey,
  2. String? overrideTopic,
})
override

Implementation

@override
Future<String> setSymKey(
    {required String symKey, String? overrideTopic}) async {
  _isInitialized();
  final topic = overrideTopic ?? await utils.hashKey(symKey);
  await keychain.set(topic, symKey);
  return topic;
}