copyWith method

  1. @override
PushMessageContentText copyWith({
  1. String? text,
  2. bool? isPinned,
})
override

Implementation

@override
PushMessageContentText copyWith({
  String? text,
  bool? isPinned,
}) =>
    PushMessageContentText(
      text: text ?? this.text,
      isPinned: isPinned ?? this.isPinned,
    );