decodeInt method

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

Decodes the data for the given key or id as an integer value.

Implementation

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