Converters class
Utility functions for type conversion and CSV parsing.
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseCsv(
String csvString) → List< List< String> > - CSV parser that handles quoted fields, escaped commas, etc. Returns a List of rows where each row is a List of String values.
-
toBool(
String input) → bool? - Converts a string to a boolean if possible. Accepts "true" or "false" (case-insensitive).
-
toDateTime(
String input) → DateTime? - Converts a string to a DateTime if possible.
-
toNum(
String input) → num? - Converts a string to a number if possible.