copyWith method
Copy model with modified properties.
Properties:
title
: Title of the chat to which the join request was sentis_channel
: True, if the join request was sent to a channel chatrequest_date
: Point in time (Unix timestamp) when the join request was sent
Implementation
@override
ChatActionBarJoinRequest copyWith({
String? title,
bool? isChannel,
int? requestDate,
}) =>
ChatActionBarJoinRequest(
title: title ?? this.title,
isChannel: isChannel ?? this.isChannel,
requestDate: requestDate ?? this.requestDate,
);