toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (designCapacity != null) 'designCapacity': designCapacity!,
      if (designMinVoltage != null) 'designMinVoltage': designMinVoltage!,
      if (manufactureDate != null) 'manufactureDate': manufactureDate!,
      if (manufacturer != null) 'manufacturer': manufacturer!,
      if (serialNumber != null) 'serialNumber': serialNumber!,
      if (technology != null) 'technology': technology!,
    };