register static method
registers adapter globally
Implementation
static void register(VoyagerAdapter adapter) {
_init();
assert(adapter.type != dynamic);
assert(adapter.type.toString() != _TYPE_SERIALIZABLE);
_adapterByType[adapter.type] = adapter;
_adapterByTypeStr[adapter.type.toString()] = adapter;
}