CommentAnchor.fromJson constructor

CommentAnchor.fromJson(
  1. Map json_
)

Implementation

CommentAnchor.fromJson(core.Map json_)
  : this(
      anchorId: json_['anchorId'] as core.String?,
      objectAnchors: (json_['objectAnchors'] as core.List?)
          ?.map(
            (value) => ObjectAnchor.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );