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