toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "pics": List<dynamic>.from(pics!.map((x) => x)),
      "compressedPics": List<dynamic>.from(compressedPics!.map((x) => x)),
      "editorIndexes": List<dynamic>.from(editorIndexes!.map((x) => x)),
      "nonSensePic": nonSensePic,
      "nonSenseOrder": nonSenseOrder,
      "order": List<dynamic>.from(order!.map((x) => x)),
      "hint": hint!.toJson(),
      "type": type,
      "createdAt": createdAt,
      "modifiedAt": modifiedAt,
      "txHash": txHash,
      "hash": hash,
      "mined": mined,
    };