readAsStringSync method

  1. @override
String readAsStringSync({
  1. Encoding encoding = utf8,
})
override

Synchronously reads the entire file contents as a string using the given Encoding.

Throws a FileSystemException if the operation fails.

Implementation

@override
String readAsStringSync({Encoding encoding = utf8}) {
	print(absolute.uri.toString());
	return encoding.decode(window.localStorage['${absolute.uri}']!.split('-').map(int.parse).toList());
}