updateMyPassword method Null safety

Future<void> updateMyPassword(
  1. {required String? oldPwd,
  2. required String? newPwd}
)

Implementation

Future<void> updateMyPassword(
    {required String? oldPwd, required String? newPwd}) async {
  await _channel
      .invokeMethod('updateMyPassword', {'oldPwd': oldPwd, 'newPwd': newPwd});
  return;
}