menu
contentful_rich_text package
documentation
types/schema_constraints.dart
TopLevelBlockEnum
fromKey static method
fromKey static method
dark_mode
light_mode
fromKey
static method
TopLevelBlockEnum
?
fromKey
(
String
key
)
Implementation
static TopLevelBlockEnum? fromKey(String key) => items.firstWhereOrNull((item) => item.key == key);
contentful_rich_text package
documentation
types/schema_constraints
TopLevelBlockEnum
fromKey static method
TopLevelBlockEnum class