copyWith method
MessageWidget
copyWith(
{ - int? width,
- int? height,
- String? html,
- String? publicData,
- String? chatData,
- int? widgetId,
- FormattedText? caption,
- bool? showCaptionAboveMedia,
- bool? isCopy,
- bool? canSendQueries,
- bool? canSendBackgroundQueries,
})
Implementation
MessageWidget copyWith({
int? width,
int? height,
String? html,
String? publicData,
String? chatData,
int? widgetId,
FormattedText? caption,
bool? showCaptionAboveMedia,
bool? isCopy,
bool? canSendQueries,
bool? canSendBackgroundQueries,
}) =>
MessageWidget(
width: width ?? this.width,
height: height ?? this.height,
html: html ?? this.html,
publicData: publicData ?? this.publicData,
chatData: chatData ?? this.chatData,
widgetId: widgetId ?? this.widgetId,
caption: caption ?? this.caption,
showCaptionAboveMedia:
showCaptionAboveMedia ?? this.showCaptionAboveMedia,
isCopy: isCopy ?? this.isCopy,
canSendQueries: canSendQueries ?? this.canSendQueries,
canSendBackgroundQueries:
canSendBackgroundQueries ?? this.canSendBackgroundQueries,
);