copyWithWrapped method

AssetDevice copyWithWrapped({
  1. Wrapped<String>? assetId,
  2. Wrapped<String>? deviceId,
  3. Wrapped<List<String>?>? tags,
})

Implementation

AssetDevice copyWithWrapped(
    {Wrapped<String>? assetId,
    Wrapped<String>? deviceId,
    Wrapped<List<String>?>? tags}) {
  return AssetDevice(
      assetId: (assetId != null ? assetId.value : this.assetId),
      deviceId: (deviceId != null ? deviceId.value : this.deviceId),
      tags: (tags != null ? tags.value : this.tags));
}