deleteToken method
Implementation
Future<bool> deleteToken(
String token, {
String deviceModel = '',
String osVersion = '',
num globalUserId = 0,
}) async {
return dio.post(
'/delete-token',
data: {
'globalUserId': globalUserId,
'deviceModel': deviceModel,
'osVersion': osVersion,
},
).then(
(response) => response.data,
);
}