SectionBreak.fromJson constructor

SectionBreak.fromJson(
  1. Map json_
)

Implementation

SectionBreak.fromJson(core.Map json_)
  : this(
      sectionStyle: json_.containsKey('sectionStyle')
          ? SectionStyle.fromJson(
              json_['sectionStyle'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      suggestedDeletionIds: (json_['suggestedDeletionIds'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      suggestedInsertionIds: (json_['suggestedInsertionIds'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
    );