copyWith method

BotAccessSettings copyWith({
  1. bool? isRestricted,
  2. List<int>? addedUserIds,
})

Implementation

BotAccessSettings copyWith({bool? isRestricted, List<int>? addedUserIds}) =>
    BotAccessSettings(
      isRestricted: isRestricted ?? this.isRestricted,
      addedUserIds: addedUserIds ?? this.addedUserIds,
    );