setCustomData method

Future<void> setCustomData(
  1. Map<String, String> customData
)

Sets custom data on the session instance.

Throws a PlatformException if the operaiton cannot be made (e.g. no network).

Implementation

Future<void> setCustomData(Map<String, String> customData) async {
  Map updatedSession =
      await CobrowseIO.instance._setSessionCustomData(this, customData);
  _fill(updatedSession);
}