SmsSenderPlatform class abstract
The interface that defines platform-specific implementations of SmsSender
.
This class should not be instantiated directly. Instead, use SmsSenderPlatform.instance to interact with the platform-specific implementation.
- Inheritance
-
- Object
- PlatformInterface
- SmsSenderPlatform
- Implementers
Constructors
- SmsSenderPlatform.new()
- Constructs a SmsSenderPlatform.
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
-
getSimCards(
) → Future< List< Map< >String, dynamic> > - Retrieves a list of available SIM cards on the device.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendSms(
String phoneNumber, String message, int simSlot) → Future< String> -
Sends an SMS message to the specified
phoneNumber
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ SmsSenderPlatform
-
The default instance of SmsSenderPlatform that will be used.
getter/setter pair