copyWith method
Implementation
SimInfo copyWith({
String? carrierName,
String? displayName,
String? slotIndex,
String? number,
String? countryIso,
String? countryPhonePrefix,
}) {
return SimInfo(
carrierName: carrierName ?? this.carrierName,
displayName: displayName ?? this.displayName,
slotIndex: slotIndex ?? this.slotIndex,
number: number ?? this.number,
countryIso: countryIso ?? this.countryIso,
countryPhonePrefix: countryPhonePrefix ?? this.countryPhonePrefix,
);
}