post method

Future<T?> post()

Implementation

Future<T?> post() async {
  return await (_dio
      .post(url,
          cancelToken: _token,
          queryParameters: queryParameters,
          data: this.data)
      .then((response) => transformer != null ? _handleData(response.data) : null)
      .catchError((e) {_handleError(e);}));

}