setAdditionalData static method

Future<void> setAdditionalData(
  1. String jsonData
)

Implementation

static Future<void> setAdditionalData(String jsonData) async {
  try {
    await platform.invokeMethod(
        'setAdditionalData', <String, String>{'jsonData': jsonData});
  } on PlatformException catch (e) {
    showToast(e.message.toString());
  }
}