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 config map.
const

Properties

config Map<String, dynamic>
Plugin-specific configuration settings map.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Unique plugin name identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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