sendAttributes static method

Future<bool> sendAttributes(
  1. String screenName,
  2. Map<String, String> data
)

Implementation

static Future<bool> sendAttributes(String screenName, Map<String, String> data) async {
  var status = false;
  try {
     status = await _channel.invokeMethod("sendAttributes", {
      "screenName": screenName,
      "attributes": data
    });
  } on PlatformException catch(e) {}
    return status;
}