fromJson static method

BookedSegmentCabinClassEnum? fromJson(
  1. dynamic value
)

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

Implementation

static BookedSegmentCabinClassEnum? fromJson(dynamic value) => BookedSegmentCabinClassEnumTypeTransformer().decode(value);