FormCast.password constructor

FormCast.password({
  1. bool viewable = false,
})

Cast to a password

Implementation

FormCast.password({bool viewable = false}) {
  type = "password";
  if (viewable) {
    type = "password:viewable";
  }
}