LineItemFlight.fromJson constructor

LineItemFlight.fromJson(
  1. Map json_
)

Implementation

LineItemFlight.fromJson(core.Map json_)
    : this(
        dateRange: json_.containsKey('dateRange')
            ? DateRange.fromJson(
                json_['dateRange'] as core.Map<core.String, core.dynamic>)
            : null,
        flightDateType: json_.containsKey('flightDateType')
            ? json_['flightDateType'] as core.String
            : null,
      );