getOrNull

fun <T : Attribute> List<T>.getOrNull(uuid: UUID): T?

Gets the Attribute of T with the given UUID from a List of T or null if it cannot be found

Return

the Attribute of T with the given UUID or null if it cannot be found


fun <T : Attribute> Flow<List<T>>.getOrNull(uuid: UUID): Flow<T?>

Gets the Flow of Attribute of T with the given UUID from a Flow of List of T, or null if it cannot be found

Return

the Flow of Attribute of T with the given UUID or null if it cannot be found.