FilteringAttribute.fromJson constructor

FilteringAttribute.fromJson(
  1. Map json_
)

Implementation

FilteringAttribute.fromJson(core.Map json_)
    : this(
        attribute: json_.containsKey('attribute')
            ? json_['attribute'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        pathPatternSupported: json_.containsKey('pathPatternSupported')
            ? json_['pathPatternSupported'] as core.bool
            : null,
        required: json_.containsKey('required')
            ? json_['required'] as core.bool
            : null,
      );