toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.aggregates != null) {
    json[r'aggregates'] = this.aggregates;
  } else {
    json[r'aggregates'] = null;
  }
    json[r'blind'] = this.blind;
  if (this.cut != null) {
    json[r'cut'] = this.cut;
  } else {
    json[r'cut'] = null;
  }
  if (this.descends != null) {
    json[r'descends'] = this.descends;
  } else {
    json[r'descends'] = null;
  }
  if (this.disposed != null) {
    json[r'disposed'] = this.disposed;
  } else {
    json[r'disposed'] = null;
  }
  if (this.learned != null) {
    json[r'learned'] = this.learned;
  } else {
    json[r'learned'] = null;
  }
  if (this.live != null) {
    json[r'live'] = this.live;
  } else {
    json[r'live'] = null;
  }
  if (this.policy != null) {
    json[r'policy'] = this.policy;
  } else {
    json[r'policy'] = null;
  }
  if (this.realised != null) {
    json[r'realised'] = this.realised;
  } else {
    json[r'realised'] = null;
  }
    json[r'refused'] = this.refused;
  if (this.sample != null) {
    json[r'sample'] = this.sample;
  } else {
    json[r'sample'] = null;
  }
  if (this.saturated != null) {
    json[r'saturated'] = this.saturated;
  } else {
    json[r'saturated'] = null;
  }
  if (this.shape != null) {
    json[r'shape'] = this.shape;
  } else {
    json[r'shape'] = null;
  }
  if (this.stated != null) {
    json[r'stated'] = this.stated;
  } else {
    json[r'stated'] = null;
  }
  if (this.surface != null) {
    json[r'surface'] = this.surface;
  } else {
    json[r'surface'] = null;
  }
  if (this.tenant != null) {
    json[r'tenant'] = this.tenant;
  } else {
    json[r'tenant'] = null;
  }
    json[r'values'] = this.values;
  if (this.warm != null) {
    json[r'warm'] = this.warm;
  } else {
    json[r'warm'] = null;
  }
  return json;
}