getSdkLogDumpPath static method
Retrieve the path to the SDK dump log file.
Containing information about SDK operations. Useful for debugging purposes. The user can add custom entries to this log using the Debug.log method. Use the setSdkDumpLevel method to set the level of details included in this log.
Implementation
static Future<String> getSdkLogDumpPath() async {
final String path = await GemKitPlatform.instance
.getChannel(mapId: -1)
.invokeMethod('getLogPath',
jsonEncode(<String, dynamic>{'dummyKey': 'dummyValue'}));
return path;
}