toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final petTypes = this.petTypes;
  final petsAllowed = this.petsAllowed;
  return {'petTypes': ?petTypes, 'petsAllowed': ?petsAllowed};
}