post method

Future<RTResponse> post(
  1. String url, {
  2. Map<String, dynamic>? data,
  3. Map<String, String>? headers,
})

Implementation

Future<RTResponse> post(
  String url, {
  Map<String, dynamic>? data,
  Map<String, String>? headers,
}) async {
  return _request(
    method: 'POST',
    url: url,
    data: data,
    headers: headers,
  );
}