getInstance static method
Implementation
static Amplitude getInstance({String instanceName = '\$default_instance'}) {
if (_instances == null) {
_instances = <String, Amplitude>{};
}
return _instances!
.putIfAbsent(instanceName, () => new Amplitude(instanceName));
}