ConfigMapEnvSource.fromJson constructor
Creates a ConfigMapEnvSource from JSON data.
Implementation
factory ConfigMapEnvSource.fromJson(Map<String, dynamic> json) {
final tempNameJson = json['name'];
final tempOptionalJson = json['optional'];
final String? tempName = tempNameJson;
final bool? tempOptional = tempOptionalJson;
return ConfigMapEnvSource(
name: tempName,
optional: tempOptional,
);
}