init static method
Implementation
static void init(String apiKey, String userId, {String endpoint = ''}) {
try {
if (endpoint.isNotEmpty) {
PlotlineWeb.init(apiKey, userId, endpoint: endpoint);
} else {
PlotlineWeb.init(apiKey, userId);
}
} catch (e) {
debugPrint("Error in init: $e");
}
}