DioForNative constructor

DioForNative([
  1. BaseOptions? baseOptions
])

Create Dio instance with default BaseOptions. It is recommended that an application use only the same DIO singleton.

Implementation

DioForNative([BaseOptions? baseOptions]) {
  options = baseOptions ?? BaseOptions();
  httpClientAdapter = IOHttpClientAdapter();
}