MethodChannelFlutterSmsussd class
An implementation of FlutterSmsussdPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterSmsussdPlatform
- MethodChannelFlutterSmsussd
Constructors
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
-
getPlatformVersion(
) → Future< String?> -
override
-
getSmsMessages(
) → Future< List< SmsMessage> > -
Get all SMS messages
override
-
getSmsMessagesByPhoneNumber(
String phoneNumber) → Future< List< SmsMessage> > -
Get SMS messages by phone number
override
-
hasSmsPermissions(
) → Future< bool> -
Check if SMS permissions are granted
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestSmsPermissions(
) → Future< bool> -
Request SMS permissions
override
-
sendSms(
{required String phoneNumber, required String message}) → Future< bool> -
Send SMS message
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited