sendCustomRequest method
Implementation
Future<Request> sendCustomRequest(
String path, Map<String, dynamic> payload) async {
final Map<String, String> headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer $accessToken',
};
final Map<String, dynamic> body = payload;
await request.post('$fromNumberId$path', headers, body);
return request;
}