SharePermissionInputBean.fromJson constructor
Implementation
factory SharePermissionInputBean.fromJson(Map<String, Object?> json) {
return SharePermissionInputBean(
accountId: json[r'accountId'] as String?,
groupId: json[r'groupId'] as String?,
groupname: json[r'groupname'] as String?,
projectId: json[r'projectId'] as String?,
projectRoleId: json[r'projectRoleId'] as String?,
rights: (json[r'rights'] as num?)?.toInt(),
type: SharePermissionInputBeanType.fromValue(
json[r'type'] as String? ?? ''),
);
}