SecretReference.fromJson constructor
Creates a SecretReference from JSON data.
Implementation
factory SecretReference.fromJson(Map<String, dynamic> json) {
final tempNameJson = json['name'];
final tempNamespaceJson = json['namespace'];
final String? tempName = tempNameJson;
final String? tempNamespace = tempNamespaceJson;
return SecretReference(
name: tempName,
namespace: tempNamespace,
);
}