toJson method

Map<String, dynamic> toJson()

Implementation

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