Principal.fromJson constructor
Implementation
factory Principal.fromJson(Map<String, dynamic> json) {
return Principal(
principalARN: json['PrincipalARN'] as String?,
principalType: (json['PrincipalType'] as String?)?.toPrincipalType(),
);
}