ParsedData.fromJson constructor

ParsedData.fromJson(
  1. Map json_
)

Implementation

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