dtoCellularDataStatus function
Implementation
CellularDataStatus? dtoCellularDataStatus(
CellularDataStatusDTO? cellularDataStatus,
) {
switch (cellularDataStatus) {
case CellularDataStatusDTO.swaggerGeneratedUnknown:
case null:
return null;
case CellularDataStatusDTO.active:
return CellularDataStatus.active;
case CellularDataStatusDTO.neardatalimit:
return CellularDataStatus.neardatalimit;
case CellularDataStatusDTO.reacheddatalimit:
return CellularDataStatus.reacheddatalimit;
case CellularDataStatusDTO.unknown:
return null;
}
}