SpacePermissionCustomContent.fromJson constructor
Implementation
factory SpacePermissionCustomContent.fromJson(Map<String, Object?> json) {
return SpacePermissionCustomContent(
subject: PermissionSubject.fromJson(
json[r'subject'] as Map<String, Object?>? ?? const {}),
operations: (json[r'operations'] as List<Object?>?)
?.map((i) => SpacePermissionCustomContentOperationsItem.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}