buildImageProvider method

ImageProvider<Object> buildImageProvider()

Implementation

ImageProvider buildImageProvider(){
  return user?.icon!=null ? SfCachedImageProvider(SfAliyunOss.getImageUrl(user?.icon)) : defaultImage;
}