Segment.fromJson constructor

Segment.fromJson(
  1. Map json_
)

Implementation

Segment.fromJson(core.Map json_)
    : this(
        dynamicSegment: json_.containsKey('dynamicSegment')
            ? DynamicSegment.fromJson(json_['dynamicSegment']
                as core.Map<core.String, core.dynamic>)
            : null,
        segmentId: json_.containsKey('segmentId')
            ? json_['segmentId'] as core.String
            : null,
      );