Grantee.fromJson constructor

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

Implementation

factory Grantee.fromJson(Map<String, dynamic> json) {
  return Grantee(
    type: (json['Type'] as String).toType(),
    displayName: json['DisplayName'] as String?,
    emailAddress: json['EmailAddress'] as String?,
    id: json['ID'] as String?,
    uri: json['URI'] as String?,
  );
}