OpusFlutterPlatform class abstract
The interface that implementations of opus_flutter must implement.
Platform implementations should extend this class rather than implement it as opus_flutter
does not consider newly added methods to be breaking changes. Extending this class
(using extends
) ensures that the subclass will get the default implementation, while
platform implementations that implements
this interface will be broken by newly added
OpusFlutterPlatform methods.
- Inheritance
-
- Object
- PlatformInterface
- OpusFlutterPlatform
- Implementers
Constructors
- OpusFlutterPlatform()
- Constructs a OpusFlutterPlatform.
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
-
load(
) → Future -
Obtains a
DynamicLibrary
oflibopus
on the current 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 ↔ OpusFlutterPlatform
-
The default instance of OpusFlutterPlatform to use,
defaults to OpusFlutterPlatformUnsupported.
getter/setter pair