static BLOCKS? fromValue(String value) { return items.firstWhereOrNull((item) => item.value == value); }