CrossVersionObjectReference.fromJson constructor
Creates a CrossVersionObjectReference from JSON data.
Implementation
factory CrossVersionObjectReference.fromJson(Map<String, dynamic> json) {
final tempApiVersionJson = json['apiVersion'];
final tempKindJson = json['kind'];
final tempNameJson = json['name'];
final String? tempApiVersion = tempApiVersionJson;
final String tempKind = tempKindJson;
final String tempName = tempNameJson;
return CrossVersionObjectReference(
apiVersion: tempApiVersion,
kind: tempKind,
name: tempName,
);
}