buildMap method

  1. @override
Map<String, Object?> buildMap()

For use with POST methods that can handle JSON types

Implementation

@override
Map<String, Object?> buildMap() {
  return {
    'from': from,
    'limit': limit,
    'canceledBy': canceledBy,
    'beforeEnqueuedAt': beforeEnqueuedAt,
    'afterEnqueuedAt': afterEnqueuedAt,
    'beforeStartedAt': beforeStartedAt,
    'afterStartedAt': afterStartedAt,
    'beforeFinishedAt': beforeFinishedAt,
    'afterFinishedAt': afterFinishedAt,
    'uids': uids,
    'statuses': statuses,
    'types': types,
    'indexUids': indexUids,
  };
}