copyWith method

ListFormatOptions copyWith({
  1. Type? type,
  2. ListStyle? style,
  3. LocaleMatcher? localeMatcher,
})

Implementation

ListFormatOptions copyWith({
  Type? type,
  ListStyle? style,
  LocaleMatcher? localeMatcher,
}) {
  return ListFormatOptions(
    type: type ?? this.type,
    style: style ?? this.style,
    localeMatcher: localeMatcher ?? this.localeMatcher,
  );
}