copyWith method
Implementation
@override
ChatSourcePublicServiceAnnouncement copyWith({
String? type,
String? text,
}) => ChatSourcePublicServiceAnnouncement(
type: type ?? this.type,
text: text ?? this.text,
);
@override
ChatSourcePublicServiceAnnouncement copyWith({
String? type,
String? text,
}) => ChatSourcePublicServiceAnnouncement(
type: type ?? this.type,
text: text ?? this.text,
);