core.Map<core.String, core.dynamic> toJson() { final agentId = this.agentId; final deviceId = this.deviceId; return {'agentId': ?agentId, 'deviceId': ?deviceId}; }