accessToken property

  1. @override
Future<AccessToken?> get accessToken
override

Implementation

@override
Future<AccessToken?> get accessToken async {
  final result = await methodChannel.invokeMethod('facebook/getAccessToken');
  if (result == null) return null;
  return AccessToken.fromJson(Map<String, dynamic>.from(result));
}