isValid method

  1. @override
bool isValid()
override

Implementation

@override
bool isValid() {
  return (this.visitorId.isNotEmpty &&
      this.clientId.isNotEmpty &&
      this.type != HitCategory.NONE);
}