Skip to content

Commit

Permalink
fixed issue 383
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin-morocho committed Feb 20, 2024
1 parent 35551a8 commit c32b70b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions facebook_auth/lib/flutter_facebook_auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ class FacebookAuth {
///The above JSON could be change, it depends of your [fields] argument.
Future<Map<String, dynamic>> getUserData({
String fields = "name,email,picture.width(200)",
}) =>
_authPlatform.getUserData(fields: fields);
}) async {
final result = await _authPlatform.getUserData(fields: fields);
return Map<String, dynamic>.from(result);
}

/// Sign Out from Facebook
Future<void> logOut() => _authPlatform.logOut();
Expand Down

0 comments on commit c32b70b

Please sign in to comment.