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