updateTypoTolerance method

Future<Task> updateTypoTolerance(
  1. TypoTolerance typoTolerance
)

Update typo tolerance settings of the index.

Implementation

Future<Task> updateTypoTolerance(TypoTolerance typoTolerance) async {
  return await _getTask(
    http.patchMethod(
      '/indexes/$uid/settings/typo-tolerance',
      data: typoTolerance.toMap(),
    ),
  );
}