copyWith method
Implementation
CarrierData copyWith({
String? mobileNetworkCode,
bool? carrierAllowsVOIP,
String? mobileCountryCode,
String? carrierName,
String? isoCountryCode,
}) {
return CarrierData(
mobileNetworkCode: mobileNetworkCode ?? this.mobileNetworkCode,
carrierAllowsVOIP: carrierAllowsVOIP ?? this.carrierAllowsVOIP,
mobileCountryCode: mobileCountryCode ?? this.mobileCountryCode,
carrierName: carrierName ?? this.carrierName,
isoCountryCode: isoCountryCode ?? this.isoCountryCode,
);
}