toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.homeUrl != null) {
json[r'home_url'] = this.homeUrl;
} else {
json[r'home_url'] = null;
}
if (this.isSecondary != null) {
json[r'is_secondary'] = this.isSecondary;
} else {
json[r'is_secondary'] = null;
}
return json;
}