InsertSectionBreakRequest.fromJson constructor

InsertSectionBreakRequest.fromJson(
  1. Map json_
)

Implementation

InsertSectionBreakRequest.fromJson(core.Map json_)
    : this(
        endOfSegmentLocation: json_.containsKey('endOfSegmentLocation')
            ? EndOfSegmentLocation.fromJson(json_['endOfSegmentLocation']
                as core.Map<core.String, core.dynamic>)
            : null,
        location: json_.containsKey('location')
            ? Location.fromJson(
                json_['location'] as core.Map<core.String, core.dynamic>)
            : null,
        sectionType: json_.containsKey('sectionType')
            ? json_['sectionType'] as core.String
            : null,
      );