getFileLength function

Future<int> getFileLength(
  1. dynamic file
)

Get file length (mobile only)

Implementation

Future<int> getFileLength(dynamic file) async {
  if (kIsWeb) throw StateError('Not supported on web');
  return await file_helper.getFileLength(file);
}