contactModeOf function
Implementation
ContactMode? contactModeOf(dyn) {
if (dyn == null) return null;
switch (dyn.toString()) {
case 'single':
return ContactMode.single;
case 'unified':
return ContactMode.unified;
default:
return null;
}
}