toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.commerce != null) {
    json[r'commerce'] = this.commerce;
  } else {
    json[r'commerce'] = null;
  }
  if (this.end != null) {
    json[r'end'] = this.end;
  } else {
    json[r'end'] = null;
  }
  if (this.interval != null) {
    json[r'interval'] = this.interval;
  } else {
    json[r'interval'] = null;
  }
  if (this.llm != null) {
    json[r'llm'] = this.llm;
  } else {
    json[r'llm'] = null;
  }
  if (this.range != null) {
    json[r'range'] = this.range;
  } else {
    json[r'range'] = null;
  }
  if (this.scope != null) {
    json[r'scope'] = this.scope;
  } else {
    json[r'scope'] = null;
  }
  if (this.start != null) {
    json[r'start'] = this.start;
  } else {
    json[r'start'] = null;
  }
  if (this.web != null) {
    json[r'web'] = this.web;
  } else {
    json[r'web'] = null;
  }
  return json;
}