setVersion method
Method to set custom version of the Facebook Graph API.
version
The version of the Facebook Graph API to use ex. v19.0
Implementation
void setVersion(String version) {
url = 'https://graph.facebook.com/$version/';
}
Method to set custom version of the Facebook Graph API.
version
The version of the Facebook Graph API to use ex. v19.0
void setVersion(String version) {
url = 'https://graph.facebook.com/$version/';
}