toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.key != null) {
json[r'key'] = this.key;
} else {
json[r'key'] = null;
}
if (this.pageviews != null) {
json[r'pageviews'] = this.pageviews;
} else {
json[r'pageviews'] = null;
}
if (this.pct != null) {
json[r'pct'] = this.pct;
} else {
json[r'pct'] = null;
}
if (this.visitors != null) {
json[r'visitors'] = this.visitors;
} else {
json[r'visitors'] = null;
}
return json;
}