copyWith method

ConnectedAffiliateProgram copyWith({
  1. String? url,
  2. int? botUserId,
  3. AffiliateProgramParameters? parameters,
  4. int? connectionDate,
  5. bool? isDisconnected,
  6. int? userCount,
  7. int? revenueStarCount,
})

Implementation

ConnectedAffiliateProgram copyWith({
  String? url,
  int? botUserId,
  AffiliateProgramParameters? parameters,
  int? connectionDate,
  bool? isDisconnected,
  int? userCount,
  int? revenueStarCount,
}) =>
    ConnectedAffiliateProgram(
      url: url ?? this.url,
      botUserId: botUserId ?? this.botUserId,
      parameters: parameters ?? this.parameters,
      connectionDate: connectionDate ?? this.connectionDate,
      isDisconnected: isDisconnected ?? this.isDisconnected,
      userCount: userCount ?? this.userCount,
      revenueStarCount: revenueStarCount ?? this.revenueStarCount,
    );