copyWith method

Match copyWith({
  1. int? startIndex,
  2. String? word,
})

Implementation

Match copyWith({int? startIndex, String? word}) => Match(
      startIndex: startIndex ?? this.startIndex,
      word: word ?? this.word,
    );