toJson method

Map<String, dynamic> toJson()

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.profileStatus != null) {
    json[r'profileStatus'] = this.profileStatus;
  } else {
    json[r'profileStatus'] = null;
  }
  return json;
}