toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'args'] = this.args;
  if (this.automatable != null) {
    json[r'automatable'] = this.automatable;
  } else {
    json[r'automatable'] = null;
  }
  if (this.available != null) {
    json[r'available'] = this.available;
  } else {
    json[r'available'] = null;
  }
    json[r'blockedBy'] = this.blockedBy;
    json[r'deps'] = this.deps;
  if (this.detail != null) {
    json[r'detail'] = this.detail;
  } else {
    json[r'detail'] = null;
  }
  if (this.draft != null) {
    json[r'draft'] = this.draft;
  } else {
    json[r'draft'] = null;
  }
  if (this.draftInto != null) {
    json[r'draftInto'] = this.draftInto;
  } else {
    json[r'draftInto'] = null;
  }
  if (this.enabled != null) {
    json[r'enabled'] = this.enabled;
  } else {
    json[r'enabled'] = null;
  }
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  if (this.section != null) {
    json[r'section'] = this.section;
  } else {
    json[r'section'] = null;
  }
  if (this.signal != null) {
    json[r'signal'] = this.signal;
  } else {
    json[r'signal'] = null;
  }
  if (this.source_ != null) {
    json[r'source'] = this.source_;
  } else {
    json[r'source'] = null;
  }
  if (this.state != null) {
    json[r'state'] = this.state;
  } else {
    json[r'state'] = null;
  }
  if (this.title != null) {
    json[r'title'] = this.title;
  } else {
    json[r'title'] = null;
  }
  if (this.tool != null) {
    json[r'tool'] = this.tool;
  } else {
    json[r'tool'] = null;
  }
  return json;
}