copyWith method

SeedSection copyWith({
  1. String? directory,
  2. String? registry,
  3. List<String>? seedNames,
})

Clones the section with the provided overrides.

Implementation

SeedSection copyWith({
  String? directory,
  String? registry,
  List<String>? seedNames,
}) {
  return SeedSection(
    directory: directory ?? this.directory,
    registry: registry ?? this.registry,
    seedNames: seedNames ?? this.seedNames,
  );
}