copyWith method

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

Implementation

AssetDevice copyWith(
    {String? assetId, String? deviceId, List<String>? tags}) {
  return AssetDevice(
      assetId: assetId ?? this.assetId,
      deviceId: deviceId ?? this.deviceId,
      tags: tags ?? this.tags);
}