getUrl method

String getUrl({
  1. required String appid,
  2. required String redirectUrl,
  3. String responseType = 'code',
})

Implementation

String getUrl({
  required String appid,
  required String redirectUrl,
  String responseType = 'code',
}) {
  return 'https://api.instagram.com/oauth/authorize?client_id=$appid&redirect_uri=$redirectUrl&scope=user_profile,user_media&response_type=$responseType';
}