ReadFileAsJsonListT<T> mixin
Methods
-
copy(dynamic from, dynamic to)
→ WFile
-
Returns a link to copied file.
inherited
-
counstructPath({bool? hasFile})
→ void
-
inherited
-
delete([dynamic pathToFile])
→ void
-
inherited
-
existsAny([dynamic path])
→ bool
-
Exists a file or directory.
path
can be String or Iterable<String>.
inherited
-
existsDir([dynamic pathToDir])
→ bool
-
inherited
-
existsFile([dynamic pathToFile])
→ bool
-
inherited
-
join(dynamic anyPath, [bool withPrefix = true])
→ String
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
readAsBytes([dynamic pathToFile])
→ Uint8List?
-
inherited
-
readAsImage(dynamic pathToFile, {int? numChannels, num? alpha})
→ Image?
-
Read image and can get a guarantee an alpha channel.
If the
numChannels
is 4 and the current image does not have an alpha
channel, then the given alpha
value will be used to set the new alpha
channel.
If alpha
is not provided, then the maxChannelValue
will be used to
set the alpha.
inherited
-
readAsJsonList([dynamic pathToFile])
→ JsonList?
-
See readAsJsonListT.
inherited
-
readAsJsonListListT<T>([dynamic pathToFile])
→ List<List<T>>?
-
See readAsJsonListT.
inherited
-
readAsJsonListString([dynamic pathToFile])
→ List<String>?
-
See readAsJsonListT.
inherited
-
readAsJsonListT<T>([dynamic pathToFile])
→ List<T>?
-
See readAsJsonListListT.
inherited
-
readAsJsonMap([dynamic pathToFile])
→ JsonMap?
-
See readAsJsonMapT.
inherited
-
readAsJsonMapString([dynamic pathToFile])
→ Map<String, String>?
-
See readAsJsonMapT.
inherited
-
readAsJsonMapT<T>([dynamic pathToFile])
→ Map<String, T>?
-
inherited
-
readAsText([dynamic pathToFile, Encoding encoding = utf8])
→ String?
-
inherited
-
readAsTextLines([dynamic pathToFile, Encoding encoding = utf8])
→ List<String>?
-
inherited
-
readAsXml([dynamic pathToFile])
→ XmlDocument?
-
inherited
-
readOrDefaults<T>(dynamic pathToFile, T reader(File), {T? defaults})
→ T?
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
writeAsBytes(Uint8List bytes, [dynamic pathToFile])
→ void
-
inherited
-
writeAsImage(Image image, [dynamic pathToFile])
→ void
-
inherited
-
writeAsText(String text, [dynamic pathToFile])
→ void
-
inherited
-
writeAsXml(XmlDocument xml, [dynamic pathToFile, bool pretty = false])
→ void
-
inherited