setCodeSalt function

Future<(String, String)> setCodeSalt({
  1. required String code,
  2. required String salt,
})

Set salt to code and return (tvc, hash) or throw error

Implementation

Future<(String, String)> setCodeSalt({
  required String code,
  required String salt,
}) async {
  final data = await createLib().setCodeSalt(code: code, salt: salt);

  return (data[0], data[1]);
}