copyWith method

FoundAffiliateProgram copyWith({
  1. int? botUserId,
  2. AffiliateProgramInfo? info,
})

Implementation

FoundAffiliateProgram copyWith({
  int? botUserId,
  AffiliateProgramInfo? info,
}) =>
    FoundAffiliateProgram(
      botUserId: botUserId ?? this.botUserId,
      info: info ?? this.info,
    );