readDataOfExactType<T extends FileData> method

Future<T> readDataOfExactType<T extends FileData>()

Implementation

Future<T> readDataOfExactType<T extends FileData>() async {
  final type = FileData.dataTypeForDataOfExactType<T>();
  return await read(type) as T;
}