smallAvatarUrl method

String smallAvatarUrl()

Implementation

String smallAvatarUrl() {
  if (hasProfileImage == 1) {
    // This probably for different version compatible.
    if (avatar != null && avatar != 0) {
      return 'https://avatars.plurk.com/'+ id.toString() + '-small' + avatar.toString() + '.gif';
    } else {
      return 'https://avatars.plurk.com/'+ id.toString() + '-small.gif';
    }
  } else {
    // Default avatar by Plurk.
    return 'https://www.plurk.com/static/default_small.gif';
  }
}