updatePassword method

Future updatePassword(
  1. String? oldPw,
  2. String? newPw
)

Update old password to new

Implementation

Future updatePassword(String? oldPw, String? newPw) async =>
    await _updatePw(oldPw, newPw);