BulkProjectPermissionGrants.fromJson constructor
Implementation
factory BulkProjectPermissionGrants.fromJson(Map<String, Object?> json) {
return BulkProjectPermissionGrants(
issues: (json[r'issues'] as List<Object?>?)
?.map((i) => (i as num?)?.toInt() ?? 0)
.toList() ??
[],
permission: json[r'permission'] as String? ?? '',
projects: (json[r'projects'] as List<Object?>?)
?.map((i) => (i as num?)?.toInt() ?? 0)
.toList() ??
[],
);
}