copyWith method

OrgListOrderedItem copyWith({
  1. String? indent,
  2. String? bullet,
  3. String? counterSet,
  4. String? checkbox,
  5. OrgContent? body,
  6. String? id,
})

Implementation

OrgListOrderedItem copyWith({
  String? indent,
  String? bullet,
  String? counterSet,
  String? checkbox,
  OrgContent? body,
  String? id,
}) =>
    OrgListOrderedItem(
      indent ?? this.indent,
      bullet ?? this.bullet,
      counterSet ?? this.counterSet,
      checkbox ?? this.checkbox,
      body ?? this.body,
      id ?? this.id,
    );