copyWithWrapped method
Implementation
CellularPlanDTO copyWithWrapped(
{Wrapped<DateTime?>? expiryDate,
Wrapped<double?>? remainingDataMb,
Wrapped<double?>? totalDataMb}) {
return CellularPlanDTO(
expiryDate: (expiryDate != null ? expiryDate.value : this.expiryDate),
remainingDataMb: (remainingDataMb != null
? remainingDataMb.value
: this.remainingDataMb),
totalDataMb:
(totalDataMb != null ? totalDataMb.value : this.totalDataMb));
}