getInstalledCertificates method
Получит список установленных сертификатов
Implementation
@override
Future<List<Certificate>> getInstalledCertificates() async {
String response =
await methodChannel.invokeMethod("getInstalledCertificates");
Map<String, dynamic> map = json.decode(response);
final certificatesMaps =
List<Map<String, dynamic>>.from(map['certificates'] as List);
return certificatesMaps.map((e) => Certificate.fromMap(e)).toList();
}