unregisterDevice method
Unregister Device.
ID: 6a0d3206
.
Implementation
Future<Result<Boolean>> unregisterDevice({
required int tokenType,
required String token,
required List<int> otherUids,
}) async {
// Preparing the request.
final request = AccountUnregisterDevice(
tokenType: tokenType,
token: token,
otherUids: otherUids,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}