getUserInfo method

  1. @override
Future<Map<String, dynamic>> getUserInfo({
  1. String fields = "name, email, picture.width(200)",
})
override

Implementation

@override
Future<Map<String, dynamic>> getUserInfo({String fields = "name, email, picture.width(200)"}) async {
  final result = await methodChannel.invokeMethod('facebook/getUserInfo', {"fields": fields});
  return isAndroid ? jsonDecode(result) : Map<String, dynamic>.from(result);
}