getTraceFile method

  1. @override
Future<File?> getTraceFile()
override

Implementation

@override
Future<File?> getTraceFile() async {
  String? tracePath =
      await methodChannel.invokeMethod<String>("getTraceFile");
  if (tracePath != null) {
    return Future<File?>.value(File(tracePath));
  } else {
    return Future<File?>.value(null);
  }
}