ConfigMapNodeConfigSource.fromJson constructor
Creates a ConfigMapNodeConfigSource from JSON data.
Implementation
factory ConfigMapNodeConfigSource.fromJson(Map<String, dynamic> json) {
final tempKubeletConfigKeyJson = json['kubeletConfigKey'];
final tempNameJson = json['name'];
final tempNamespaceJson = json['namespace'];
final tempResourceVersionJson = json['resourceVersion'];
final tempUidJson = json['uid'];
final String tempKubeletConfigKey = tempKubeletConfigKeyJson;
final String tempName = tempNameJson;
final String tempNamespace = tempNamespaceJson;
final String? tempResourceVersion = tempResourceVersionJson;
final String? tempUid = tempUidJson;
return ConfigMapNodeConfigSource(
kubeletConfigKey: tempKubeletConfigKey,
name: tempName,
namespace: tempNamespace,
resourceVersion: tempResourceVersion,
uid: tempUid,
);
}