Flip.fromJson constructor

Flip.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Flip.fromJson(Map<String, dynamic> json) => Flip(
      id: json["id"],
      pics: List<String>.from(json["pics"].map((x) => x)),
      compressedPics: List<String>.from(json["compressedPics"].map((x) => x)),
      editorIndexes: List<int>.from(json["editorIndexes"].map((x) => x)),
      nonSensePic: json["nonSensePic"],
      nonSenseOrder: json["nonSenseOrder"],
      order: List<int>.from(json["order"].map((x) => x)),
      hint: Hint.fromJson(json["hint"]),
      type: json["type"],
      createdAt: json["createdAt"],
      modifiedAt: json["modifiedAt"],
      txHash: json["txHash"],
      hash: json["hash"],
      mined: json["mined"],
    );