sendRequest method

Future<void> sendRequest()

Implementation

Future<void> sendRequest() async {
  await send(
    EventTypes.KeyVerificationRequest,
    {
      'methods': knownVerificationMethods,
      if (room == null) 'timestamp': DateTime.now().millisecondsSinceEpoch,
    },
  );
  startedVerification = true;
  setState(KeyVerificationState.waitingAccept);
  lastActivity = DateTime.now();
}