copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
ChatBoostLink copyWith({
String? link,
bool? isPublic,
dynamic extra,
int? clientId,
}) =>
ChatBoostLink(
link: link ?? this.link,
isPublic: isPublic ?? this.isPublic,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);