ParagraphMarker.fromJson constructor

ParagraphMarker.fromJson(
  1. Map json_
)

Implementation

ParagraphMarker.fromJson(core.Map json_)
  : this(
      bullet: json_.containsKey('bullet')
          ? Bullet.fromJson(
              json_['bullet'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      style: json_.containsKey('style')
          ? ParagraphStyle.fromJson(
              json_['style'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );