copyWith method

  1. @override
PremiumGiveawayParticipantStatusDisallowedCountry copyWith({
  1. String? userCountryCode,
})
override

Copy model with modified properties.

Properties:

  • user_country_code: A two-letter ISO 3166-1 alpha-2 country code of the user's country

Implementation

@override
PremiumGiveawayParticipantStatusDisallowedCountry copyWith({
  String? userCountryCode,
}) =>
    PremiumGiveawayParticipantStatusDisallowedCountry(
      userCountryCode: userCountryCode ?? this.userCountryCode,
    );