SimpleSegment.fromJson constructor

SimpleSegment.fromJson(
  1. Map json_
)

Implementation

SimpleSegment.fromJson(core.Map json_)
    : this(
        orFiltersForSegment: json_.containsKey('orFiltersForSegment')
            ? (json_['orFiltersForSegment'] as core.List)
                .map((value) => OrFiltersForSegment.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );