toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "pageSize": pageSize,
  "pageNumber": pageNumber,
  "fromCreatedAt": fromCreatedAt?.toIso8601String(),
  "toCreatedAt": toCreatedAt?.toIso8601String(),
  "tags": tags == null ? null : List<dynamic>.from(tags!.map((int x) => x)),
  "orderBy": orderBy,
};