MethodChannelAppLimiter class

An implementation of AppLimiterPlatform that uses method channels.

Inheritance

Properties

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

blockAndroidApps() Future<void>
Android-specific implementation for blocking apps
override
blockAndUnblockIOSApp() Future<void>
iOS-specific implementation for blocking and unblocking apps
override
getPlatformVersion() Future<String?>
Gets the platform version.
override
isAndroidPermissionAllowed() Future<bool>
Checks Android permission status through the native implementation
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestAndroidPermission() Future<void>
Requests Android permissions through the native implementation
override
requestIosPermission() Future<bool>
Requests iOS permissions through the native implementation
override
toString() String
A string representation of this object.
inherited
unblockAndroidApps() Future<void>
Android-specific implementation for unblocking apps
override

Operators

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