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,
      );