twoStepVerification method

Future<Request> twoStepVerification(
  1. int pin
)

Implementation

Future<Request> twoStepVerification(int pin) async {
  final Map<String, String> headers = {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer $accessToken',
  };

  final Map<String, dynamic> body = {
    "pin": pin,
  };

  await request.post(fromNumberId, headers, body);
  return request;
}