readInt method

Future<int> readInt()

Implementation

Future<int> readInt() async {
  final a = await readData<int>(1);
  return a[0];
}