setVersion method

void setVersion(
  1. String version
)

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/';
}