toJson method

Map<String, Object?> toJson()

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;
  }
  json[r'name'] = name;
  json[r'screens'] = screens.toJson();
  return json;
}