setup method

Future<void> setup(
  1. MoveAuth auth,
  2. MoveConfig moveConfig, {
  3. MoveOptions? options,
})

The SDK will setup and authenticate a user. moveAuth contains authentication data and tokens prepared by the app backend. moveConfig indicates the configuration of the services which will be running. options (optional) contains additional options for the MOVE SDK. Services in moveConfig must be enabled in the MOVE dashboard.

Implementation

Future<void> setup(MoveAuth auth, MoveConfig moveConfig,
    {MoveOptions? options}) {
  return MovesdkPlatform.instance.setup(auth, moveConfig, options);
}