init method
override
Initializes this repository.
Callback onMemberRemoved should be called once an User is removed from
a Chat.
Implementation
@override
void init({
Future<void> Function(ChatId, UserId)? onMemberRemoved,
bool? pagination,
}) {
Log.debug('init(onMemberRemoved) for $me', '$runtimeType');
this.onMemberRemoved = onMemberRemoved ?? this.onMemberRemoved;
final bool hasPagination = pagination ?? !WebUtils.isPopup;
if (hasPagination != _hasPagination) {
_hasPagination = hasPagination;
_ensurePagination();
}
}