setAsaData static method

Future setAsaData()

Implementation

static Future setAsaData() async {
  try {
    var token = await FlutterAsaAttribution.instance.attributionToken();
    // print("mzgs token: " + token.toString());
    var data =
        await FlutterAsaAttribution.instance.requestAttributionDetails();
    asaData = jsonEncode(data);
  } catch (e) {}
}