getFingerprintInfo method
Implementation
@override
Future<Map<String, dynamic>> getFingerprintInfo() async {
Map<String, dynamic> result = <String, dynamic>{};
try {
final fingerPrintInfo = await methodChannel
.invokeMethod<Map<dynamic, dynamic>>('getFingerPrintInfo');
return jsonDecode(_jsonEncoder.convert(fingerPrintInfo));
} on PlatformException catch (error) {
return result
..addEntries(
[MapEntry("code", error.code), MapEntry("message", error.message)]);
}
}