toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.mapVersion != null) {
    json[r'mapVersion'] = this.mapVersion;
  } else {
    json[r'mapVersion'] = null;
  }
    json[r'groups'] = this.groups;
    json[r'amenities'] = this.amenities;
  if (this.notesLabel != null) {
    json[r'notesLabel'] = this.notesLabel;
  } else {
    json[r'notesLabel'] = null;
  }
  return json;
}