toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (adapter != null) 'adapter': adapter!,
if (deviceId != null) 'deviceId': deviceId!,
if (driverVersion != null) 'driverVersion': driverVersion!,
};