UpdateAvailabilityRequest.fromJson constructor

UpdateAvailabilityRequest.fromJson(
  1. Map json_
)

Implementation

UpdateAvailabilityRequest.fromJson(core.Map json_)
    : this(
        availabilities: json_.containsKey('availabilities')
            ? (json_['availabilities'] as core.List)
                .map((value) => Availability.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );