toJson method

Map<String, dynamic> toJson()

Converts a ProfileUpdate instance into a JSON object.

Implementation

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