changePin method

Future changePin(
  1. ChangePinData data
)

This requests a pin change for the current authenticated user When the user has the pin is already set in the user

Implementation

Future<dynamic> changePin(ChangePinData data) {
  var path = ApiPaths.changePin.asUri(env.API_URL);

  return this.put(
    path,
    data.toJson(),
  );
}