AnnotationsSummary.fromJson constructor

AnnotationsSummary.fromJson(
  1. Map json_
)

Implementation

AnnotationsSummary.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        layers: json_.containsKey('layers')
            ? (json_['layers'] as core.List)
                .map((value) => AnnotationsSummaryLayers.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );