DestinationRuleList.fromJson constructor
Creates a DestinationRuleList from JSON data.
Implementation
DestinationRuleList.fromJson(Map<String, dynamic> json)
: this(
apiVersion: json['apiVersion'],
items: json['items'] != null
? DestinationRule.listFromJson(
(json['items'] as Iterable).cast<Map<String, dynamic>>())
: [],
kind: json['kind'],
metadata: json['metadata'] != null
? ListMeta.fromJson(json['metadata'])
: null,
);