register static method

void register([
  1. String name = 'tabs'
])

Registers the current tab / flutter instance. Optionally a name can be set which will be used as localstorage identifier. The name must be the same for all instances of the flutter app.

Implementation

static void register([String name = 'tabs']) {
  _name = name;
  api.register(_name);
}