copyWith method

DividerMeta copyWith({
  1. bool? before,
  2. bool? after,
  3. String? style,
})

Creates a copy with updated values.

Implementation

DividerMeta copyWith({
  bool? before,
  bool? after,
  String? style,
}) {
  return DividerMeta(
    before: before ?? this.before,
    after: after ?? this.after,
    style: style ?? this.style,
  );
}