AnalyticsEventSpec constructor
Creates a spec. requiredProperties is copied into an unmodifiable set so
the value type cannot be mutated through the constructor argument.
Implementation
AnalyticsEventSpec({
required this.tier,
Set<String> requiredProperties = const <String>{},
}) : requiredProperties = Set<String>.unmodifiable(requiredProperties);