1. Dart
2. dart:io
3. File
4. lengthSync abstract method

##### File class

1. Constructors
2. File
3. fromRawPath
4. fromUri
5. Properties
6. absolute
7. path
8. hashCode
9. isAbsolute
10. parent
11. runtimeType
12. uri
13. Methods
14. copy
15. copySync
16. create
17. createSync
18. lastAccessed
19. lastAccessedSync
20. lastModified
21. lastModifiedSync
22. length
23. lengthSync
24. open
25. openRead
26. openSync
27. openWrite
28. readAsBytes
29. readAsBytesSync
30. readAsLines
31. readAsLinesSync
32. readAsString
33. readAsStringSync
34. rename
35. renameSync
36. setLastAccessed
37. setLastAccessedSync
38. setLastModified
39. setLastModifiedSync
40. writeAsBytes
41. writeAsBytesSync
42. writeAsString
43. writeAsStringSync
44. delete
45. deleteSync
46. exists
47. existsSync
48. noSuchMethod
49. resolveSymbolicLinks
50. resolveSymbolicLinksSync
51. stat
52. statSync
53. toString
54. watch
55. Operators
56. operator ==

description

# lengthSync method

int lengthSync ()

Synchronously get the length of the file.

Throws a FileSystemException if the operation fails.

## Implementation

    int lengthSync();