copy method

Parse copy({
  1. List<String>? newStates,
})

Implementation

Parse copy({List<String>? newStates}) =>
    Parse(pattern, token, newStates ?? this.newStates);