BloomShorebirdConfig class

Shorebird OTA (Over-The-Air) deployment configuration declared in bloom.yaml.

Controls live code-push update behavior, application identifiers, and per-flavor mapping.

Example:

final shorebird = BloomShorebirdConfig(
  enabled: true,
  appId: 'auto',
  autoCheckUpdate: true,
  flavors: {'production': 'shorebird-app-id-123'},
);

Constructors

BloomShorebirdConfig({bool enabled = false, String appId = 'auto', bool autoCheckUpdate = true, Map<String, String> flavors = const {}})
Creates a BloomShorebirdConfig instance.
const
BloomShorebirdConfig.fromMap(Map map)
Constructs a BloomShorebirdConfig from a configuration map.
factory

Properties

appId String
Shorebird application ID identifier or 'auto'.
final
autoCheckUpdate bool
Whether to automatically check for OTA updates on application startup.
final
enabled bool
Whether Shorebird code-push updates are enabled.
final
flavors Map<String, String>
Flavor-specific Shorebird application ID mappings.
final
hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited