fileSendingStatus property

FileSendingStatus? get fileSendingStatus

If this event is in Status SENDING and it aims to send a file, then this shows the status of the file sending.

Implementation

FileSendingStatus? get fileSendingStatus {
  final status = unsigned?.tryGet<String>(fileSendingStatusKey);
  if (status == null) return null;
  return FileSendingStatus.values.singleWhereOrNull(
      (fileSendingStatus) => fileSendingStatus.name == status);
}