PitelApi class abstract

Constructors

PitelApi()

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

getExtensionInfo({String api = '/sdk/info/', required String pitelToken, required String sipUsername}) Future<GetExtensionResponse>
getProfile({String api = '/api/v1/auth/profile/', required String token}) Future<PitelProfileUser>
getSipInfo({String api = '/api/v1/sdk/token/', required String token, required String apiKey, required String sipUsername}) Future<String>
login({String api = '/api/v1/auth/login/', required String username, required String password}) Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDeviceToken({String api = '/pn/device/token', required String deviceToken, required String platform, required String bundleId, required String domain, required String extension, required String appMode, required String fcmToken}) Future<RegisterDeviceTokenRes>
removeDeviceToken({String api = '/pn/device/token', required String deviceToken, required String domain, required String extension}) Future<RemoveDeviceTokenReq>
toString() String
A string representation of this object.
inherited
turnConfig({String api = '/server/turn'}) Future<TurnConfigRes>

Operators

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

Static Methods

getInstance() PitelApi