getUserInfo method
Future<Map<String, dynamic> >
getUserInfo({
- 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);
}