Gateway class

Constructors

Gateway.new({required String apiKey, required String apiSecret})

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

dispose() → void
Dispose the HTTP client when done
getBalance() Future<Map<String, dynamic>>
Get account balance
getSenders() Future<Map<String, dynamic>>
Get sender names
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendSms({required String message, required List<String> numbers, required String sender}) Future<Map<String, dynamic>>
Send SMS messages
toString() String
A string representation of this object.
inherited

Operators

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