toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    if (contactPoint != null) r'contactPoint': contactPoint,
    r'organization': organization,
    if (person != null) r'person': person,
    if (type != null) r'type': type,
  };
}