MethodChannelFlutterMulticastLock class
An implementation of FlutterMulticastLockPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterMulticastLockPlatform
- MethodChannelFlutterMulticastLock
Constructors
Properties
- exceptionOnUnsupportedPlatform → bool
-
Indicates whether an exception should be thrown on unsupported platforms.
If set to true, an exception will be thrown when trying to use the
multicast lock on a platform that does not support it (e.g., non-Android).
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel?
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acquireMulticastLock(
{String? lockName}) → Future< void> -
override
-
isMulticastLockHeld(
) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
releaseMulticastLock(
) → Future< void> -
override
-
setExceptionOnUnsupportedPlatform(
bool value) → void -
Sets whether an exception should be thrown on unsupported platforms.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited