toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "count": count,
      "result": result.value,
      "pageIndex": pageIndex,
      "imageQualityList": imageQualityList.map((e) => e.toJson()).toList(),
    }.clearNulls();