getOutboundGroupSession method

  1. @override
Future<OutboundGroupSession?> getOutboundGroupSession(
  1. String roomId,
  2. String userId
)
override

Implementation

@override
Future<OutboundGroupSession?> getOutboundGroupSession(
    String roomId, String userId) async {
  final raw = await _outboundGroupSessionsBox.get(roomId.toHiveKey);
  if (raw == null) return null;
  return OutboundGroupSession.fromJson(convertToJson(raw), userId);
}