saltWithRounds static method
Generate a salt with a given cost. Cost must be between 4 and 31.
Implementation
static Future<String> saltWithRounds({required int rounds}) async =>
await (_channel.invokeMethod('saltWithRounds', {'rounds': rounds}));