WebUtils class
Webpage utilities to retrieve a text file
Constructors
- WebUtils()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fileExt(
String? file) → String - File extension
-
fileName(
String? file) → String - File name.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
params(
) → Map< String, String> - Returns a empty Map if an error occurs.
-
readTextFile(
) → Future< List< String> > - Read a text file.
-
saveTextFile(
List< String> ? text, String? fileName) → bool - Save a text file.
-
textFile(
) → Future< File?> -
toString(
) → String -
A string representation of this object.
inherited
-
updateTextFile(
) → Future< List< String> > - Read a text file
-
urlPath(
) → String - Returns the url path if any Returns an empty string otherwise.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited