BloomPlugin class
A strongly typed plugin reference declared in bloom.config.dart.
Encapsulates the plugin name and custom configuration properties passed to that plugin.
Example:
const cameraPlugin = BloomPlugin(
'bloom_camera',
config: {'enableHighResolution': true},
);
Constructors
-
BloomPlugin(String name, {Map<
String, dynamic> config = const {}}) -
Creates a BloomPlugin reference with an optional
configmap.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes this plugin configuration to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited