$DocumentationRule.fromJson constructor

$DocumentationRule.fromJson(
  1. Map json_
)

Implementation

$DocumentationRule.fromJson(core.Map json_)
    : this(
        deprecationDescription: json_.containsKey('deprecationDescription')
            ? json_['deprecationDescription'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        disableReplacementWords: json_.containsKey('disableReplacementWords')
            ? json_['disableReplacementWords'] as core.String
            : null,
        selector: json_.containsKey('selector')
            ? json_['selector'] as core.String
            : null,
      );