Converts this instance to json
Map<String, dynamic> toJson() { return { "status": this.status, "message": this.message, "data": this.data?.toJson() }; }