getGender

fun getGender(value: String?): Gender?

This is a static method that takes an string and returns the corresponding gender.

Return

a Gender instance, null if no match

Parameters

value