File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,9 @@ import 'dart:io';
55import 'package:flutter/foundation.dart' ;
66import 'package:flutter/services.dart' ;
77import 'package:freerasp/freerasp.dart' ;
8+ import 'package:freerasp/src/errors/malware_failure_exception.dart' ;
89import 'package:freerasp/src/generated/talsec_pigeon_api.g.dart' ;
910
10- import 'errors/malware_failure_exception.dart' ;
11-
1211/// A class which maintains all security related operations.
1312///
1413/// To get started, you can obtain the singleton instance of [Talsec] by
@@ -218,6 +217,10 @@ class Talsec {
218217 throw error;
219218 }
220219
220+ /// Retrieves the app icon for the given [packageName] as base64 string.
221+ ///
222+ /// Throws a [TalsecException] with error message description if
223+ /// the app with given package name couldn't be obtained.
221224 Future <String > getAppIcon (String packageName) async {
222225 if (! Platform .isAndroid) {
223226 throw UnimplementedError (
You can’t perform that action at this time.
0 commit comments