PermissionInfo.fromJson constructor
Implementation
factory PermissionInfo.fromJson(Map<String, dynamic> json) {
return PermissionInfo(
role: (json['Role'] as String?)?.toRoleType(),
type: (json['Type'] as String?)?.toRolePermissionType(),
);
}