toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "predictions": predictions == null
          ? []
          : List<dynamic>.from(predictions!.map((x) => x.toJson())),
      "status": status,
    };