authorize static method

Future<void> authorize()

Authorize using Dropbox app or web browser.

Authorize using Dropbox app if it's installed. If not installed, it calls external web browser for authorization. When user authorizes, no feedback is available. call getAccessToken() to check if authorized.

Implementation

static Future<void> authorize() async {
  await _channel.invokeMethod('authorize');
}