updateConfig method

  1. @override
Future<void> updateConfig(
  1. MoveConfig config, {
  2. MoveOptions? options,
})
override

The SDK will attempt to change the client config, will call warning/error listener respectively. New options will be set if provided.

Implementation

@override
Future<void> updateConfig(MoveConfig config, {MoveOptions? options}) async {
  await methodChannel.invokeMethod(
    'updateConfig',
    <String, dynamic>{
      'config': config.buildConfigParameter(),
      'options': options?.toNative()
    },
  );
}