toJson method

Map<String, dynamic> toJson()

Converts this instance to json

Implementation

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