copyWith method
SendStory
copyWith({
- InputStoryContent? content,
- StoryPrivacySettings? privacySettings,
- int? activePeriod,
- bool? isPinned,
- bool? protectContent,
Implementation
SendStory copyWith({
InputStoryContent? content,
FormattedText? caption,
StoryPrivacySettings? privacySettings,
int? activePeriod,
bool? isPinned,
bool? protectContent,
}) =>
SendStory(
content: content ?? this.content,
caption: caption ?? this.caption,
privacySettings: privacySettings ?? this.privacySettings,
activePeriod: activePeriod ?? this.activePeriod,
isPinned: isPinned ?? this.isPinned,
protectContent: protectContent ?? this.protectContent,
);