toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (id != null) {
    json[r'id'] = id;
  }
  if (orgID != null) {
    json[r'orgID'] = orgID;
  }
  if (name != null) {
    json[r'name'] = name;
  }
  if (properties != null) {
    json[r'properties'] = properties;
  }
  return json;
}