toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  var map = {
    'since': since,
    'before': before,
    'limit': limit,
  };
  map.removeWhere((key, value) => value == null);
  return map;
}