setCustomParameters method
Sets the OAuth custom parameters to pass in a Facebook OAuth request for popup and redirect sign-in operations. Valid parameters include 'auth_type', 'display' and 'locale'. For a detailed list, check the Facebook documentation. Reserved required OAuth 2.0 parameters such as 'client_id', 'redirect_uri', 'scope', 'response_type' and 'state' are not allowed and ignored.
Implementation
FacebookAuthProvider setCustomParameters(
Map<String, dynamic> customOAuthParameters) =>
FacebookAuthProvider.fromJsObject(
jsObject.setCustomParameters(jsify(customOAuthParameters)));