getDioByPath method

Dio getDioByPath(
  1. String? path
)

Implementation

Dio getDioByPath(String? path) {
  if (path != null && (path.startsWith(ApiConfig.base??'') || path.startsWith(ApiConfig.ivyBase??''))) {
    return _dioIvyBaby;
  }

  return _dioMall;
}