matomo_forever library Null safety

Classes

MatomoForever
MatomoForever standardize the way the Matomo tracking is used.

Extensions

AddIfV
addIfV adds a key value pair to a Map if the key and value are not null. Returns true if pair is added.
AddIfVAndNew
addIfVAndNew adds a key value pair to a Map if the key and value are not null and if the key doesn't already exist. bToInt if set to true, transforms a bool value to an int (0 or 1). Returns true if pair is added.
ToQueryString
toQueryString Returns the String built with the Map keys and values ready to be used as an HTTP GET query String.

Enums

MatomoForeverMethod
Matomo server supports both POST and GET HTTP methods. Except for bulk sending which requires POST method.