toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'name'] = this.name;
  json[r'orderCode'] = this.orderCode;
  json[r'deviceVersion'] = this.deviceVersion;
  if (this.description != null) {
    json[r'description'] = this.description;
  }
  if (this.applications != null) {
    json[r'applications'] = this.applications;
  }
  if (this.manufacturer != null) {
    json[r'manufacturer'] = this.manufacturer;
  }
  if (this.supportedGateways != null) {
    json[r'supportedGateways'] = this.supportedGateways;
  }
  if (this.AssetsTransform != null) {
    json[r'AssetsTransform'] = this.AssetsTransform;
  }
  if (this.specialUuid != null) {
    json[r'specialUuid'] = this.specialUuid;
  }
  return json;
}