Header.fromJson constructor

Header.fromJson(
  1. Map json_
)

Implementation

Header.fromJson(core.Map json_)
    : this(
        content: json_.containsKey('content')
            ? (json_['content'] as core.List)
                .map((value) => StructuralElement.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        headerId: json_.containsKey('headerId')
            ? json_['headerId'] as core.String
            : null,
      );