asBool property

bool? get asBool

Implementation

bool? get asBool => value is bool ? value as bool : null;