copyWith method
BusinessConnectedBotInfo
copyWith({
- BusinessConnectedBot? bot,
- int? connectionDate,
- String? deviceModel,
- String? location,
- dynamic extra,
- int? clientId,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
BusinessConnectedBotInfo copyWith({
BusinessConnectedBot? bot,
int? connectionDate,
String? deviceModel,
String? location,
dynamic extra,
int? clientId,
}) => BusinessConnectedBotInfo(
bot: bot ?? this.bot,
connectionDate: connectionDate ?? this.connectionDate,
deviceModel: deviceModel ?? this.deviceModel,
location: location ?? this.location,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);