Converts a Status object to a JSON map.
Map<String, dynamic> toJson() => { "id": id, "isCurrentStatus": isCurrentStatus, "status": status, };