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