getRudderContext static method
Retrieves the current RudderStack context information.
Returns a Map containing context information such as device details,
app information, and other relevant data, or null
if unavailable.
This method provides access to the current context used by the SDK.
Implementation
@Deprecated("Use instance.getRudderContext instead")
static Future<Map?> getRudderContext() async {
return await instance.getRudderContext();
}