copyWith method

  1. @override
PushMessageContentDocument copyWith({
  1. Document? document,
  2. bool? isPinned,
})
override

Implementation

@override
PushMessageContentDocument copyWith({
  Document? document,
  bool? isPinned,
}) => PushMessageContentDocument(
  document: document ?? this.document,
  isPinned: isPinned ?? this.isPinned,
);