BloomModule class
Metadata annotation declaring a Bloom Native Module.
Attached to classes extending BloomNativeModule to identify the module contract,
version, and human-readable metadata for the Bloom registry and code generators.
Example:
@BloomModule(name: 'BloomLocation', version: '1.2.0', description: 'GPS location tracking module')
class BloomLocationModule extends BloomNativeModule {
BloomLocationModule() : super(name: 'BloomLocation');
}
Constructors
- BloomModule({required String name, String version = '1.0.0', String description = ''})
-
Creates a BloomModule annotation.
const
Properties
- description → String
-
Human-readable module description.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The unique module identifier (e.g.
'BloomCamera','BloomLocation').final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String
-
Semantic version of the module contract (defaults to
'1.0.0').final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited