toJson method

Map<String, dynamic> toJson()

Implementation

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