setDemoMetaInfo static method

Future<void> setDemoMetaInfo({
  1. required Map<String, String> jsonObject,
})

Implementation

static Future<void> setDemoMetaInfo(
    {required Map<String, String> jsonObject}) async {
  try {
    final arguments = {"demoMetaInfo": jsonObject};
    await channel.invokeMethod('setDemoMetaInfo', arguments);
  } on PlatformException catch (p) {
    _errorCallbackHandler(null, p, null, null);
  } catch (e) {
    _errorCallbackHandler(null, null, e, null);
  }
}