SegmentSettings.fromJson constructor

SegmentSettings.fromJson(
  1. Map _json
)

Implementation

SegmentSettings.fromJson(core.Map _json)
    : this(
        individualSegments: _json.containsKey('individualSegments')
            ? _json['individualSegments'] as core.bool
            : null,
        segmentDuration: _json.containsKey('segmentDuration')
            ? _json['segmentDuration'] as core.String
            : null,
      );