Principal.fromJson constructor

Principal.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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