copyWith method

SimCards copyWith({
  1. String? subscriptionId,
  2. String? displayName,
  3. String? carrierName,
  4. String? number,
  5. String? slotIndex,
  6. String? countryIso,
  7. String? carrierId,
  8. String? isEmbedded,
  9. String? iccId,
})

Implementation

SimCards copyWith({
  String? subscriptionId,
  String? displayName,
  String? carrierName,
  String? number,
  String? slotIndex,
  String? countryIso,
  String? carrierId,
  String? isEmbedded,
  String? iccId,
}) {
  return SimCards(
    subscriptionId: subscriptionId ?? this.subscriptionId,
    displayName: displayName ?? this.displayName,
    carrierName: carrierName ?? this.carrierName,
    number: number ?? this.number,
    slotIndex: slotIndex ?? this.slotIndex,
    countryIso: countryIso ?? this.countryIso,
    carrierId: carrierId ?? this.carrierId,
    isEmbedded: isEmbedded ?? this.isEmbedded,
    iccId: iccId ?? this.iccId,
  );
}