toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (catsAllowed != null) 'catsAllowed': catsAllowed!,
if (catsAllowedException != null)
'catsAllowedException': catsAllowedException!,
if (dogsAllowed != null) 'dogsAllowed': dogsAllowed!,
if (dogsAllowedException != null)
'dogsAllowedException': dogsAllowedException!,
if (petsAllowed != null) 'petsAllowed': petsAllowed!,
if (petsAllowedException != null)
'petsAllowedException': petsAllowedException!,
if (petsAllowedFree != null) 'petsAllowedFree': petsAllowedFree!,
if (petsAllowedFreeException != null)
'petsAllowedFreeException': petsAllowedFreeException!,
};