toJson method

Map<String, dynamic> toJson()

Converts the UpdateTokenResponse instance to a JSON map.

Implementation

Map<String, dynamic> toJson() => {
      "updatedDeviceToken": updatedDeviceToken,
      "updatedVOIPToken": updatedVoipToken,
      "error": error,
    };