copyWith method

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

Implementation

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