copyWith method

ContentBodyExpandable copyWith({
  1. String? content,
  2. String? embeddedContent,
  3. String? webresource,
  4. String? mediaToken,
})

Implementation

ContentBodyExpandable copyWith(
    {String? content,
    String? embeddedContent,
    String? webresource,
    String? mediaToken}) {
  return ContentBodyExpandable(
    content: content ?? this.content,
    embeddedContent: embeddedContent ?? this.embeddedContent,
    webresource: webresource ?? this.webresource,
    mediaToken: mediaToken ?? this.mediaToken,
  );
}