dio property

Dio get dio

对外获取 Dio 实例的接口 如果为空会先初始化

Implementation

Dio get dio {
  _ensureInitialized();
  return _dio!;
}