signOutWithMode method

Future<SyneriseResult<void>> signOutWithMode(
  1. ClientSignOutMode mode,
  2. bool fromAllDevices
)

Implementation

Future<SyneriseResult<void>> signOutWithMode(
    ClientSignOutMode mode, bool fromAllDevices) async {
  return await SyneriseInvocation(methodChannel)
      .invokeSDKApiMethod<void>("Client/signOutWithMode", parameters: {
    "mode": mode.clientSignOutModeAsString(),
    "fromAllDevices": fromAllDevices
  });
}