getMaliciousAppsList static method

Future<List<MaliciousAppData>> getMaliciousAppsList()

Initiates an app security check request.

Implementation

static Future<List<MaliciousAppData>> getMaliciousAppsList() async {
  final List<dynamic> result = await _methodChannel.invokeMethod(
    'getMaliciousAppsList',
  );
  return List<MaliciousAppData>.from(
    result.map(
      (dynamic e) => MaliciousAppData.fromMap(
        Map<String, dynamic>.from(e),
      ),
    ),
  );
}