toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var currentuser = this.currentuser;
  var properties = this.properties;
  var frontend = this.frontend;
  var labels = this.labels;

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