ContentBlock.fromJson constructor

ContentBlock.fromJson(
  1. Object? json
)

Decodes the tagged union.

Implementation

factory ContentBlock.fromJson(Object? json) => contentBlockCodec.decode(json);