debugProfilePlatformChannels top-level property Null safety

bool debugProfilePlatformChannels
read / write

Profile and print statistics on Platform Channel usage.

When this is is true statistics about the usage of Platform Channels will be printed out periodically to the console and Timeline events will show the time between sending and receiving a message (encoding and decoding time excluded).

The statistics include the total bytes transmitted and the average number of bytes per invocation in the last quantum. "Up" means in the direction of Flutter to the host platform, "down" is the host platform to flutter.

Implementation

bool debugProfilePlatformChannels = false;