copyWith method

RichTextIcon copyWith({
  1. Document? document,
  2. int? width,
  3. int? height,
})

Implementation

RichTextIcon copyWith({Document? document, int? width, int? height}) =>
    RichTextIcon(
      document: document ?? this.document,
      width: width ?? this.width,
      height: height ?? this.height,
    );