copyWith method

LinkifyOptions copyWith({
  1. bool? humanize,
  2. bool? removeWww,
  3. bool? looseUrl,
  4. bool? defaultToHttps,
  5. bool? excludeLastPeriod,
  6. String? urlText,
  7. bool? linkAsList,
})

Implementation

LinkifyOptions copyWith({
  bool? humanize,
  bool? removeWww,
  bool? looseUrl,
  bool? defaultToHttps,
  bool? excludeLastPeriod,
  String? urlText,
  bool? linkAsList,
}) {
  return LinkifyOptions(
    humanize: humanize ?? this.humanize,
    removeWww: removeWww ?? this.removeWww,
    looseUrl: looseUrl ?? this.looseUrl,
    defaultToHttps: defaultToHttps ?? this.defaultToHttps,
    excludeLastPeriod: excludeLastPeriod ?? this.excludeLastPeriod,
    urlText: urlText ?? this.urlText,
    linkAsList: linkAsList ?? this.linkAsList,
  );
}