$DocumentationRule.fromJson constructor Null safety

$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,
        selector: _json.containsKey('selector')
            ? _json['selector'] as core.String
            : null,
      );