Record static method

void Record(
  1. int type,
  2. int category,
  3. int subCategory,
  4. String? name,
  5. int value,
  6. String? customPayload,
)

Implementation

static void Record(int type, int category, int subCategory, String? name, int value, String? customPayload) {
  _methodChannel.invokeMapMethod('record', {
    "type": type,
    "category": category,
    "subCategory": subCategory,
    "name": name,
    "value": value,
    "customPayload": customPayload
  });
}