toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var deprecated = this.deprecated;
  var layout = this.layout;
  var properties = this.properties;
  var statusReference = this.statusReference;

  final json = <String, Object?>{};
  json[r'deprecated'] = deprecated;
  if (layout != null) {
    json[r'layout'] = layout.toJson();
  }
  if (properties != null) {
    json[r'properties'] = properties;
  }
  if (statusReference != null) {
    json[r'statusReference'] = statusReference;
  }
  return json;
}