toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (firmwareVersion != null) 'firmwareVersion': firmwareVersion!,
      if (hardwareVersion != null) 'hardwareVersion': hardwareVersion!,
      if (name != null) 'name': name!,
      if (softwareVersion != null) 'softwareVersion': softwareVersion!,
      if (vendor != null) 'vendor': vendor!,
    };