post method
Implementation
Future<NetworkResponse?> post(
String url, [
Map<String, dynamic>? body,
]) async {
try {
final response = await http.post(
Uri.parse(url),
headers: headers,
body: body,
);
return NetworkResponse(response.body, response.statusCode, response);
} catch (e) {
throw TwilioNetworkException(e.toString());
}
}