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