finish method

void finish()

Implementation

void finish(){
  if(finishCallBack != null){
    new Future.delayed(new Duration(milliseconds: 200),(){
      isLoading = false;
      finishCallBack?.call();
    });
  }
}