username property

String username
getter/setter pair

Username regex (Simple)

Minimum 3 character Allowed to use underscore ("_") and period (".") characters in middle of name

Implementation

static String username = r'^[a-zA-Z0-9][a-zA-Z0-9_.]+[a-zA-Z0-9]$';