baseUrl property

String? get baseUrl

Whether this repository uses the baseUrl from this getter, returns the baseUrl If the baseUrl should be watched from a stream, state or something else, returns null

Implementation

String? get baseUrl;
set baseUrl (String? baseUrl)

Set the baseUrl for dio instance

Implementation

set baseUrl(String? baseUrl) {
  if (baseUrl != null) {
    _dio.options.baseUrl = baseUrl;
  }
}