GroupVersionForDiscovery.fromJson constructor
Creates a GroupVersionForDiscovery from JSON data.
Implementation
factory GroupVersionForDiscovery.fromJson(Map<String, dynamic> json) {
final tempGroupVersionJson = json['groupVersion'];
final tempVersionJson = json['version'];
final String tempGroupVersion = tempGroupVersionJson;
final String tempVersion = tempVersionJson;
return GroupVersionForDiscovery(
groupVersion: tempGroupVersion,
version: tempVersion,
);
}