fromJson static method

OfferPassengerTypeEnum? fromJson(
  1. dynamic value
)

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

Implementation

static OfferPassengerTypeEnum? fromJson(dynamic value) => OfferPassengerTypeEnumTypeTransformer().decode(value);