encryptMap method

  1. @override
Future<String?> encryptMap({
  1. required String key,
  2. required Map data,
})
override

Implementation

@override
Future<String?> encryptMap({required String key, required Map<dynamic, dynamic> data}) async {
  await _scriptsCompleter.future;
  // The jsify extension correctly handles the conversion.
  return _encryptMap(key.toJS, data.jsify()!).toDart;
}