copyWith method

MessageLink copyWith({
  1. String? link,
  2. bool? isPublic,
})

Implementation

MessageLink copyWith({
  String? link,
  bool? isPublic,
}) =>
    MessageLink(
      link: link ?? this.link,
      isPublic: isPublic ?? this.isPublic,
    );