copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
BusinessBotManageBar copyWith({
int? botUserId,
String? manageUrl,
bool? isBotPaused,
bool? canBotReply,
}) => BusinessBotManageBar(
botUserId: botUserId ?? this.botUserId,
manageUrl: manageUrl ?? this.manageUrl,
isBotPaused: isBotPaused ?? this.isBotPaused,
canBotReply: canBotReply ?? this.canBotReply,
);