verifyCode method

Future<Request> verifyCode(
  1. int code
)

Implementation

Future<Request> verifyCode(int code) async {
  final Map<String, String> headers = {
    'Authorization': 'Bearer $accessToken',
  };

  final Map<String, String> body = {
    'code': code.toString(),
  };

  await request.postForm('$fromNumberId/verify_code', headers, body);
  return request;
}