getBoolean

abstract fun getBoolean(key: String, defaultValue: Boolean): Boolean

获取 Boolean 类型的值。