toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'iccid'] = this.iccid;
    json[r'status'] = this.status;
  if (this.lpaCode != null) {
    json[r'lpaCode'] = this.lpaCode;
  } else {
    json[r'lpaCode'] = null;
  }
  if (this.smdpAddress != null) {
    json[r'smdpAddress'] = this.smdpAddress;
  } else {
    json[r'smdpAddress'] = null;
  }
  if (this.activationCode != null) {
    json[r'activationCode'] = this.activationCode;
  } else {
    json[r'activationCode'] = null;
  }
  if (this.qrCodeUrl != null) {
    json[r'qrCodeUrl'] = this.qrCodeUrl;
  } else {
    json[r'qrCodeUrl'] = null;
  }
  if (this.pin != null) {
    json[r'pin'] = this.pin;
  } else {
    json[r'pin'] = null;
  }
  if (this.puk != null) {
    json[r'puk'] = this.puk;
  } else {
    json[r'puk'] = null;
  }
  if (this.number != null) {
    json[r'number'] = this.number;
  } else {
    json[r'number'] = null;
  }
  if (this.iosQuickInstall != null) {
    json[r'iosQuickInstall'] = this.iosQuickInstall;
  } else {
    json[r'iosQuickInstall'] = null;
  }
  if (this.androidQuickInstall != null) {
    json[r'androidQuickInstall'] = this.androidQuickInstall;
  } else {
    json[r'androidQuickInstall'] = null;
  }
  if (this.usage != null) {
    json[r'usage'] = this.usage;
  } else {
    json[r'usage'] = null;
  }
  return json;
}