toPermissionsMode method

PermissionsMode toPermissionsMode()

Implementation

PermissionsMode toPermissionsMode() {
  switch (this) {
    case 'ALLOW_ALL':
      return PermissionsMode.allowAll;
  }
  throw Exception('$this is not known in enum PermissionsMode');
}