copyWith method
ChatMemberStatusRestricted
copyWith({
- bool? isMember,
- int? restrictedUntilDate,
- ChatPermissions? permissions,
override
Implementation
@override
ChatMemberStatusRestricted copyWith({
bool? isMember,
int? restrictedUntilDate,
ChatPermissions? permissions,
}) => ChatMemberStatusRestricted(
isMember: isMember ?? this.isMember,
restrictedUntilDate: restrictedUntilDate ?? this.restrictedUntilDate,
permissions: permissions ?? this.permissions,
);