copyWith method

Format copyWith({
  1. String? format,
  2. int? chance,
  3. List<StringTransformer>? transformers,
})

Implementation

Format copyWith({
  String? format,
  int? chance,
  List<StringTransformer>? transformers,
}) =>
    Format(
      format ?? this.format,
      chance: chance ?? this.chance,
      transformers: transformers ?? this.transformers,
    );