fromJson static method

SegmentFareCabinClassEnum? fromJson(
  1. dynamic value
)

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

Implementation

static SegmentFareCabinClassEnum? fromJson(dynamic value) => SegmentFareCabinClassEnumTypeTransformer().decode(value);