copyWith method

DevOptions copyWith({
  1. String? host,
  2. int? port,
  3. String? entry,
  4. List<String>? watch,
  5. bool? verbose,
})

Implementation

DevOptions copyWith({
  String? host,
  int? port,
  String? entry,
  List<String>? watch,
  bool? verbose,
}) {
  return DevOptions(
    host: host ?? this.host,
    port: port ?? this.port,
    entry: entry ?? this.entry,
    watch: watch ?? this.watch,
    verbose: verbose ?? this.verbose,
  );
}