getRudderContext method

Future<Map?> getRudderContext()

Retrieves the current RudderStack context information.

Use this to get the current context data that RudderStack automatically collects and includes with events (device info, app info, network info, etc.). Useful for debugging or building custom integrations.

Returns a map containing the current context data, or null if not available.

Implementation

Future<Map?> getRudderContext() async {
  throw UnimplementedError('getRudderContext() has not been implemented.');
}