toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (hwVersion != null) 'hwVersion': hwVersion!,
      if (manufacturer != null) 'manufacturer': manufacturer!,
      if (model != null) 'model': model!,
      if (swVersion != null) 'swVersion': swVersion!,
    };