setData static method
set constant data the data must conform to https://api.flutter.dev/flutter/services/StandardMessageCodec-class.html android: sets data on data layer by the name
Implementation
static void setData(String path, Map<String, dynamic> data) async {
if (!path.startsWith("/")) {
path = "/" + path;
}
await _channel.invokeListMethod('setData', {"path": path, "data": data});
}