asError property

AddEventError? get asError

Implementation

AddEventError? get asError => this.isError ? this._value as AddEventError : null;