toJson method

Map<String, dynamic> toJson()

Converts a Status object to a JSON map.

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "isCurrentStatus": isCurrentStatus,
      "status": status,
    };