check static method
Implementation
static Future<String> check({
required String serverURL,
required SHA sha,
required List<String> allowedSHAFingerprints,
Map<String, String>? headerHttp,
int? timeout,
}) async {
final Map<String, dynamic> params = <String, dynamic>{
"url": serverURL,
"headers": headerHttp ?? {},
"type": sha.toString().split(".").last,
"fingerprints":
allowedSHAFingerprints.map((a) => a.replaceAll(":", "")).toList(),
"timeout": timeout
};
String resp = await _channel.invokeMethod('check', params);
return resp;
}