EasySMS class

Constructors

EasySMS({required Iterable<Gateway> gateways, Strategy strategy = const OrderStrategy(), Duration timeout = const Duration(seconds: 10)})
Creates a new EasySMS instance.
const

Properties

gateways Iterable<Gateway>
Current defined gateways
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strategy Strategy
Current enabled strategy
final
timeout Duration
Request HTTP timeout
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Iterable<PhoneNumber> to, Message message) Future<Iterable<Response>>
Sends a message to a phone number.
toString() String
A string representation of this object.
inherited

Operators

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