fetchAndStoreSessionUid method

Future<void> fetchAndStoreSessionUid()

Implementation

Future<void> fetchAndStoreSessionUid() async {
  networkRequestHandler(
    apiCall: () => apiClient.getSessionDetails(meetingDetails.meetingUid),
    onSuccess: (data) async {
      if (data?.id != null) {
        final sessionUid = data!.id.toString();
        StorageHelper().setSessionUid(sessionUid);
      }
    },
  );
}