asBoolean property

bool? get asBoolean

Implementation

bool? get asBoolean => this.isBoolean ? this._value as bool : null;