fromJson static method

HotelSearchFiltersAmenityCodesEnum? fromJson(
  1. dynamic value
)

Returns the instance of HotelSearchFiltersAmenityCodesEnum that was successfully decoded from the passed value on success, null otherwise.

Implementation

static HotelSearchFiltersAmenityCodesEnum? fromJson(dynamic value) => HotelSearchFiltersAmenityCodesEnumTypeTransformer().decode(value);