copyWith method
Implementation
CanSendMessageToUser copyWith({
int? userId,
bool? onlyLocal,
}) =>
CanSendMessageToUser(
userId: userId ?? this.userId,
onlyLocal: onlyLocal ?? this.onlyLocal,
);
CanSendMessageToUser copyWith({
int? userId,
bool? onlyLocal,
}) =>
CanSendMessageToUser(
userId: userId ?? this.userId,
onlyLocal: onlyLocal ?? this.onlyLocal,
);