copyWith method

InputRichMessage copyWith({
  1. RichMessageSource? source,
  2. bool? isRtl,
  3. bool? detectAutomaticBlocks,
})

Implementation

InputRichMessage copyWith({
  RichMessageSource? source,
  bool? isRtl,
  bool? detectAutomaticBlocks,
}) =>
    InputRichMessage(
      source: source ?? this.source,
      isRtl: isRtl ?? this.isRtl,
      detectAutomaticBlocks:
          detectAutomaticBlocks ?? this.detectAutomaticBlocks,
    );