AnnotationLayerSummary.fromJson constructor

AnnotationLayerSummary.fromJson(
  1. Map json_
)

Implementation

AnnotationLayerSummary.fromJson(core.Map json_)
    : this(
        allowedCharacterCount: json_.containsKey('allowedCharacterCount')
            ? json_['allowedCharacterCount'] as core.int
            : null,
        limitType: json_.containsKey('limitType')
            ? json_['limitType'] as core.String
            : null,
        remainingCharacterCount: json_.containsKey('remainingCharacterCount')
            ? json_['remainingCharacterCount'] as core.int
            : null,
      );