getTokenThreshold method
Implementation
@override
Future<CCResult> getTokenThreshold() async {
try {
final result = await methodChannel.invokeMethod('get_token_threshold');
return CCResult.fromMap(result);
} on PlatformException catch (e) {
return CCResult(
status: Status.ERROR, message: e.message ?? 'an error occurred');
}
}