decodeIsNull method

  1. @override
bool decodeIsNull(
  1. String key, {
  2. int? id,
})
override

Checks if the data for the given key or id is null.

Implementation

@override
bool decodeIsNull(String key, {int? id}) {
  var d = decoders[key] ?? decoders[id];
  return d != null && d.clone().decodeIsNull();
}