Decodes the data for the given key or id as a nullable boolean value.
bool? decodeBoolOrNull(String key, {int? id});