SegmentFilter.fromJson constructor

SegmentFilter.fromJson(
  1. Map json_
)

Implementation

SegmentFilter.fromJson(core.Map json_)
    : this(
        not: json_.containsKey('not') ? json_['not'] as core.bool : null,
        sequenceSegment: json_.containsKey('sequenceSegment')
            ? SequenceSegment.fromJson(json_['sequenceSegment']
                as core.Map<core.String, core.dynamic>)
            : null,
        simpleSegment: json_.containsKey('simpleSegment')
            ? SimpleSegment.fromJson(
                json_['simpleSegment'] as core.Map<core.String, core.dynamic>)
            : null,
      );