copyWith method

MessageLink copyWith({
  1. String? link,
  2. bool? isPublic,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

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