toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.engine != null) {
    json[r'engine'] = this.engine;
  } else {
    json[r'engine'] = null;
  }
  if (this.favicon != null) {
    json[r'favicon'] = this.favicon;
  } else {
    json[r'favicon'] = null;
  }
  if (this.snippet != null) {
    json[r'snippet'] = this.snippet;
  } else {
    json[r'snippet'] = null;
  }
  if (this.title != null) {
    json[r'title'] = this.title;
  } else {
    json[r'title'] = null;
  }
  if (this.url != null) {
    json[r'url'] = this.url;
  } else {
    json[r'url'] = null;
  }
  return json;
}