copyWith method

ChatSourcePublicServiceAnnouncement copyWith({
  1. String? type,
  2. String? text,
})

Implementation

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