toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.axis != null) {
    json[r'axis'] = this.axis;
  } else {
    json[r'axis'] = null;
  }
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  if (this.items != null) {
    json[r'items'] = this.items;
  } else {
    json[r'items'] = null;
  }
  if (this.native_ != null) {
    json[r'native'] = this.native_;
  } else {
    json[r'native'] = null;
  }
  if (this.source_ != null) {
    json[r'source'] = this.source_;
  } else {
    json[r'source'] = null;
  }
  if (this.title != null) {
    json[r'title'] = this.title;
  } else {
    json[r'title'] = null;
  }
  return json;
}