toJson method

Map<String, dynamic> toJson ()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  if (this.taxonomy != null) {
    data['taxonomy'] = this.taxonomy;
  }
  if (this.embeddable != null) {
    data['embeddable'] = this.embeddable;
  }
  if (this.href != null) {
    data['href'] = this.href;
  }
  return data;
}