decodeInt method

  1. @override
int decodeInt()
override

Decodes the data as an integer value.

Implementation

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