copyWith method
CarrierData
copyWith(
{ - bool? allowsVOIP,
- String? carrierName,
- String? isoCountryCode,
- String? mobileCountryCode,
- String? mobileNetworkCode,
- String? mobileNetworkOperator,
- String? networkGeneration,
- String? radioType,
- int? cid,
- int? lac,
})
Implementation
CarrierData copyWith(
{bool? allowsVOIP,
String? carrierName,
String? isoCountryCode,
String? mobileCountryCode,
String? mobileNetworkCode,
String? mobileNetworkOperator,
String? networkGeneration,
String? radioType,
int? cid,
int? lac}) {
return CarrierData(
allowsVOIP: allowsVOIP ?? this.allowsVOIP,
carrierName: carrierName ?? this.carrierName,
isoCountryCode: isoCountryCode ?? this.isoCountryCode,
mobileCountryCode: mobileCountryCode ?? this.mobileCountryCode,
mobileNetworkCode: mobileNetworkCode ?? this.mobileNetworkCode,
mobileNetworkOperator:
mobileNetworkOperator ?? this.mobileNetworkOperator,
networkGeneration: networkGeneration ?? this.networkGeneration,
radioType: radioType ?? this.radioType,
cid: cid ?? this.cid,
lac: lac ?? this.lac,
);
}