Skip to content

Commit 2f88c01

Browse files
committed
chore: fix linter issues
1 parent 2f8fe37 commit 2f88c01

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/src/talsec.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ import 'dart:io';
55
import 'package:flutter/foundation.dart';
66
import 'package:flutter/services.dart';
77
import 'package:freerasp/freerasp.dart';
8+
import 'package:freerasp/src/errors/malware_failure_exception.dart';
89
import '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(

0 commit comments

Comments
 (0)