toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "hunter_status": hunterStatus,
      "claim_message": claimMessage,
      "answered_at": answeredAt,
      "reason":
          reason == null ? [] : List<dynamic>.from(reason!.map((x) => x)),
      "community": community == null
          ? []
          : List<dynamic>.from(
              community!.map((x) => communityValues.reverse[x])),
    };