decodeBool method

  1. @override
bool decodeBool()
override

Decodes the data as a boolean value.

Implementation

@override
bool decodeBool() {
  final key = keys.current;
  return decoder.decodeBool(key is String ? key : '', id: key is int ? key : null);
}