changePassword method

  1. @override
Future changePassword(
  1. ChangePasswordRequest requestModel
)
override

Implementation

@override
Future<dynamic> changePassword(ChangePasswordRequest requestModel) async {
  final DioBuilderResponse dioBuilderResponse =
      await DioBuilder().buildNonCachedDio(hasAuth: true);
  final Response response = await dioBuilderResponse.dio.post(
    api_constant.changePasswordApiConstant,
    options: dioBuilderResponse.dioOptions,
    data: requestModel.toJson(),
  );
  return response;
}