Diffusion of metal ions through gel chitosan membranes