BloomDeepLinksConfig class
Deep link URL scheme and universal link domain configuration.
Defines the custom URI schemes, universal/app link domains, and route mappings
parsed from bloom.yaml.
Example:
final deepLinks = BloomDeepLinksConfig(
enabled: true,
schemes: ['bloom', 'myapp'],
domains: ['app.example.com'],
routeMappings: {'/invite': '/auth/register'},
);
Constructors
-
BloomDeepLinksConfig({bool enabled = false, List<
String> schemes = const [], List<String> domains = const [], Map<String, String> routeMappings = const {}}) -
Creates a BloomDeepLinksConfig instance.
const
- BloomDeepLinksConfig.fromMap(Map map)
-
Constructs a BloomDeepLinksConfig from a configuration
map.factory
Properties
-
domains
→ List<
String> -
Associated universal link HTTP/HTTPS domains (e.g.
['app.example.com']).final - enabled → bool
-
Whether deep linking support is enabled for the application.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
routeMappings
→ Map<
String, String> -
Route path mapping rules translating incoming link paths to internal routes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schemes
→ List<
String> -
Custom URI schemes handled by the application (e.g.
['bloom', 'myapp']).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