asBool method

bool asBool({
  1. bool defaultValue = false,
})

Implementation

bool asBool({bool defaultValue = false}) =>
    asNullableBool() ?? defaultValue;