toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (categories != null) 'categories': categories!,
      if (classId != null) 'classId': classId!,
      if (firmwareVersion != null) 'firmwareVersion': firmwareVersion!,
      if (name != null) 'name': name!,
      if (pid != null) 'pid': pid!,
      if (subclassId != null) 'subclassId': subclassId!,
      if (vendor != null) 'vendor': vendor!,
      if (vid != null) 'vid': vid!,
    };