toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  Map<String, dynamic> json = Map<String, dynamic>();
  if (id != null) json['id'] = id;
  if (name != null) json['name'] = name;
  if (serviceArea != null) json['serviceArea'] = serviceArea;
  if (privacyPolicyUrl != null) json['privacyPolicyUrl'] = privacyPolicyUrl;

  return json;
}