import 'dart:convert'; /// deviceId : "string" /// deviceType : "string" /// ip : "string" /// refreshToken : "string" /// token : "string" /// tokendevice : "string" String refreshTokenRequestToJson(RefreshTokenRequest data) => json.encode(data.toJson()); class RefreshTokenRequest { RefreshTokenRequest({ required this.deviceId, required this.deviceType, required this.ip, required this.refreshToken, required this.token, required this.tokendevice, }); String deviceId; String deviceType; String ip; String refreshToken; String token; String tokendevice; Map toJson() { final map = {}; map['deviceId'] = deviceId; map['deviceType'] = deviceType; map['ip'] = ip; map['refreshToken'] = refreshToken; map['token'] = token; map['tokendevice'] = tokendevice; return map; } }