increment static method
Implementation
static Future<PluginResult> increment(String achivementId) async {
try {
Map<dynamic, dynamic> result =
await _channel.invokeMethod('increment', {"id": achivementId});
return PluginResult(result);
} catch (e) {
return PluginResult({"success": false, "exception": e.toString()});
}
}