onHttpClientCreate property

  1. @Deprecated('Use createHttpClient instead. This will be removed in 6.0.0')
OnHttpClientCreate? onHttpClientCreate
getter/setter pair

Dio will create HttpClient when it is needed. If onHttpClientCreate has provided, Dio will call it when a HttpClient created.

Implementation

@Deprecated('Use createHttpClient instead. This will be removed in 6.0.0')
OnHttpClientCreate? onHttpClientCreate;