toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.withKyc != null) {
json[r'withKyc'] = this.withKyc;
} else {
json[r'withKyc'] = null;
}
if (this.withTopUp != null) {
json[r'withTopUp'] = this.withTopUp;
} else {
json[r'withTopUp'] = null;
}
if (this.withHotspot != null) {
json[r'withHotspot'] = this.withHotspot;
} else {
json[r'withHotspot'] = null;
}
if (this.withDataRoaming != null) {
json[r'withDataRoaming'] = this.withDataRoaming;
} else {
json[r'withDataRoaming'] = null;
}
if (this.withSubscription != null) {
json[r'withSubscription'] = this.withSubscription;
} else {
json[r'withSubscription'] = null;
}
if (this.withDestinationInstall != null) {
json[r'withDestinationInstall'] = this.withDestinationInstall;
} else {
json[r'withDestinationInstall'] = null;
}
if (this.withUsageCheck != null) {
json[r'withUsageCheck'] = this.withUsageCheck;
} else {
json[r'withUsageCheck'] = null;
}
if (this.technology != null) {
json[r'technology'] = this.technology;
} else {
json[r'technology'] = null;
}
if (this.activation != null) {
json[r'activation'] = this.activation;
} else {
json[r'activation'] = null;
}
if (this.charge != null) {
json[r'charge'] = this.charge;
} else {
json[r'charge'] = null;
}
return json;
}