setGender method

void setGender(
  1. String? value
)

Implementation

void setGender(String? value) {
  setState(() {
    gender = value;
  });
}