PermissionGrants.fromJson constructor
Implementation
factory PermissionGrants.fromJson(Map<String, Object?> json) {
return PermissionGrants(
expand: json[r'expand'] as String?,
permissions: (json[r'permissions'] as List<Object?>?)
?.map((i) => PermissionGrant.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}