SequenceSegment.fromJson constructor

SequenceSegment.fromJson(
  1. Map json_
)

Implementation

SequenceSegment.fromJson(core.Map json_)
    : this(
        firstStepShouldMatchFirstHit:
            json_['firstStepShouldMatchFirstHit'] as core.bool?,
        segmentSequenceSteps: (json_['segmentSequenceSteps'] as core.List?)
            ?.map((value) => SegmentSequenceStep.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
      );