toJson method
Implementation
Map<String, Object?> toJson() {
var description = this.description;
var name = this.name;
var screens = this.screens;
final json = <String, Object?>{};
if (description != null) {
json[r'description'] = description;
}
if (name != null) {
json[r'name'] = name;
}
if (screens != null) {
json[r'screens'] = screens.toJson();
}
return json;
}