myUpcomingEvents method

Future<FfiListCalendarEvent> myUpcomingEvents(
  1. int? secsFromNow
)

get only upcoming events that I responded as rsvp

Implementation

Future<FfiListCalendarEvent> myUpcomingEvents(
  int? secsFromNow,
) {
  final tmp1 = secsFromNow;
  var tmp0 = 0;
  var tmp2 = 0;
  var tmp4 = 0;
  tmp0 = _box.borrow();
  if (tmp1 == null) {
    tmp2 = 0;
  } else {
    tmp2 = 1;
    final tmp3 = tmp1;
    tmp4 = tmp3;
  }
  final tmp5 = _api._clientMyUpcomingEvents(
    tmp0,
    tmp2,
    tmp4,
  );
  final tmp7 = tmp5;
  final ffi.Pointer<ffi.Void> tmp7_0 = ffi.Pointer.fromAddress(tmp7);
  final tmp7_1 =
      _Box(_api, tmp7_0, "__Client_my_upcoming_events_future_drop");
  tmp7_1._finalizer = _api._registerFinalizer(tmp7_1);
  final tmp6 = _nativeFuture(tmp7_1, _api.__clientMyUpcomingEventsFuturePoll);
  return tmp6;
}