copyWith method

FlavoredAsset copyWith({
  1. String? path,
  2. Set<String>? flavors,
})

Implementation

FlavoredAsset copyWith({String? path, Set<String>? flavors}) {
  return FlavoredAsset(
    path: path ?? this.path,
    flavors: flavors ?? this.flavors,
  );
}