toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final availabilityStatus = this.availabilityStatus;
  return {
    if (availabilityStatus != null)
      'AvailabilityStatus': availabilityStatus.toValue(),
  };
}