setTokens method
register fcm token, and device token for android
ios device token is obtained internally
Implementation
Future<bool?> setTokens({required String accessToken, String? deviceToken}) {
return _channel.invokeMethod('tokens', <String, dynamic>{
"accessToken": accessToken,
"deviceToken": deviceToken
});
}