encryptToDeviceMessage method

Future<Map<String, Map<String, Map<String, dynamic>>>> encryptToDeviceMessage(
  1. List<DeviceKeys> deviceKeys,
  2. String type,
  3. Map<String, dynamic> payload
)

Implementation

Future<Map<String, Map<String, Map<String, dynamic>>>> encryptToDeviceMessage(
  List<DeviceKeys> deviceKeys,
  String type,
  Map<String, dynamic> payload,
) async {
  return await olmManager.encryptToDeviceMessage(deviceKeys, type, payload);
}