BoxxFactory class
Factory class to create BoxxInterface instances based on the platform and encryption mode This class ensures that the correct implementation is used for the current platform (web or mobile) and allows for easy extension in the future if more platforms are supported. It follows the singleton pattern to ensure that only one instance of BoxxFactory is created throughout the application. This is useful for managing resources and ensuring consistent behavior across the application.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBoxxInterface(
{required EncryptionMode? mode, String? encryptionKey}) → BoxxInterface - Load appropriate Boxx interface for platform
-
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
Static Properties
- instance → BoxxFactory
-
no setter