decodeBoolOrNull method
Decodes the data as a nullable boolean value.
Implementation
@override
bool? decodeBoolOrNull() {
try {
return _value as bool?;
} on TypeError {
throw CodableException.unexpectedType(expected: 'bool?', actual: '${_value.runtimeType}', data: _value);
}
}