toGid method
Implementation
Gid toGid() {
switch (this) {
case 'NONE':
return Gid.none;
case 'INT_VALUE':
return Gid.intValue;
case 'NAME':
return Gid.name;
case 'BOTH':
return Gid.both;
}
throw Exception('$this is not known in enum Gid');
}