Identity.fromJson constructor

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

Implementation

factory Identity.fromJson(Map<String, dynamic> json) {
  return Identity(
    principalId: json['PrincipalId'] as String?,
    type: json['Type'] as String?,
  );
}