NonResourcePolicyRule.fromJson constructor

NonResourcePolicyRule.fromJson(
  1. Map<String, dynamic> json
)

Creates a NonResourcePolicyRule from JSON data.

Implementation

NonResourcePolicyRule.fromJson(Map<String, dynamic> json)
    : this(
        nonResourceURLs: json['nonResourceURLs'] != null
            ? List<String>.from(json['nonResourceURLs'])
            : [],
        verbs: json['verbs'] != null ? List<String>.from(json['verbs']) : [],
      );