toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    if (address != null) r'address': address,
    if (contactPoint != null) r'contactPoint': contactPoint,
    if (description != null) r'description': description,
    if (name != null) r'name': name,
  };
}