getConfiguration method
Gets the current tracker configuration from the backend
Implementation
@override
Future<Map<String, dynamic>> getConfiguration() async {
try {
final result = await methodChannel.invokeMethod<String>('getConfiguration');
if (result == null) return {};
return json.decode(result) as Map<String, dynamic>;
} catch (e, s) {
debugPrintStack(label: e.toString(), stackTrace: s);
rethrow;
}
}