toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.orderId != null) {
json[r'orderId'] = this.orderId;
} else {
json[r'orderId'] = null;
}
if (this.orderItemId != null) {
json[r'orderItemId'] = this.orderItemId;
} else {
json[r'orderItemId'] = null;
}
if (this.iccid != null) {
json[r'iccid'] = this.iccid;
} else {
json[r'iccid'] = null;
}
if (this.start != null) {
json[r'start'] = this.start;
} else {
json[r'start'] = null;
}
if (this.end != null) {
json[r'end'] = this.end;
} else {
json[r'end'] = null;
}
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
if (this.packageName != null) {
json[r'packageName'] = this.packageName;
} else {
json[r'packageName'] = null;
}
if (this.isUnlimited != null) {
json[r'isUnlimited'] = this.isUnlimited;
} else {
json[r'isUnlimited'] = null;
}
if (this.allowedData != null) {
json[r'allowedData'] = this.allowedData;
} else {
json[r'allowedData'] = null;
}
if (this.remainingData != null) {
json[r'remainingData'] = this.remainingData;
} else {
json[r'remainingData'] = null;
}
if (this.allowedSms != null) {
json[r'allowedSms'] = this.allowedSms;
} else {
json[r'allowedSms'] = null;
}
if (this.remainingSms != null) {
json[r'remainingSms'] = this.remainingSms;
} else {
json[r'remainingSms'] = null;
}
if (this.allowedVoice != null) {
json[r'allowedVoice'] = this.allowedVoice;
} else {
json[r'allowedVoice'] = null;
}
if (this.remainingVoice != null) {
json[r'remainingVoice'] = this.remainingVoice;
} else {
json[r'remainingVoice'] = null;
}
return json;
}