ValuesMapper class
Mapper for Worksheet's values.
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
-
allColumns(
{int fromColumn = 1, int fromRow = 1, int length = -1, int count = -1, int mapTo = 1}) → Future< List< Map< ?>String, String> > - Fetches all columns, maps them to specific column and returns as list of maps.
-
allRows(
{int fromRow = 1, int fromColumn = 1, int length = -1, int count = -1, int mapTo = 1}) → Future< List< Map< ?>String, String> > - Fetches all rows, maps them to specific row and returns as list of maps.
-
appendColumn(
Map< String, dynamic> map, {int fromRow = 1, int mapTo = 1, bool appendMissing = false, bool inRange = false}) → Future<bool> -
Appends column with values from
map
. -
appendColumns(
List< Map< maps, {int fromRow = 1, int mapTo = 1, bool appendMissing = false, bool inRange = false}) → Future<String, dynamic> >bool> -
Appends columns with values from
maps
. -
appendRow(
Map< String, dynamic> map, {int fromColumn = 1, int mapTo = 1, bool appendMissing = false, bool inRange = false}) → Future<bool> -
Appends row with values from
map
. -
appendRows(
List< Map< maps, {int fromColumn = 1, int mapTo = 1, bool appendMissing = false, bool inRange = false}) → Future<String, dynamic> >bool> -
Appends rows with values from
maps
. -
column(
int column, {int fromRow = 1, int length = -1, int mapTo = 1}) → Future< Map< String, String> > - Fetches specified column, maps it to other column and returns map.
-
columnByKey(
Object key, {int fromRow = 2, int length = -1, dynamic mapTo}) → Future< Map< String, String> ?> - Fetches column by its name, maps it to other column and returns map.
-
insertColumn(
int column, Map< String, dynamic> map, {int fromRow = 1, int mapTo = 1, bool appendMissing = false, bool overwrite = false}) → Future<bool> -
Updates column values with values from
map
. -
insertColumnByKey(
Object key, Map< String, dynamic> map, {int fromRow = 2, dynamic mapTo, bool appendMissing = false, bool overwrite = false, bool eager = true}) → Future<bool> -
Updates column values with values from
map
by column names. -
insertColumns(
int column, List< Map< maps, {int fromRow = 1, int mapTo = 1, bool appendMissing = false, bool overwrite = false}) → Future<String, dynamic> >bool> -
Updates columns with values from
maps
. -
insertRow(
int row, Map< String, dynamic> map, {int fromColumn = 1, int mapTo = 1, bool appendMissing = false, bool overwrite = false}) → Future<bool> -
Updates row values with values from
map
. -
insertRowByKey(
Object key, Map< String, dynamic> map, {int fromColumn = 2, dynamic mapTo, bool appendMissing = false, bool overwrite = false, bool eager = true}) → Future<bool> -
Updates row values with values from
map
by column names. -
insertRows(
int row, List< Map< maps, {int fromColumn = 1, int mapTo = 1, bool appendMissing = false, bool overwrite = false}) → Future<String, dynamic> >bool> -
Updates rows with values from
maps
. -
lastColumn(
{int fromRow = 1, int length = -1, int mapTo = 1, bool inRange = false}) → Future< Map< String, String> ?> - Fetches last column, maps it to other column and returns map.
-
lastRow(
{int fromColumn = 1, int length = -1, int mapTo = 1, bool inRange = false}) → Future< Map< String, String> ?> - Fetches last row, maps it to other row and returns map.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
row(
int row, {int fromColumn = 1, int length = -1, int mapTo = 1}) → Future< Map< String, String> > - Fetches specified row, maps it to other row and returns map.
-
rowByKey(
Object key, {int fromColumn = 2, int length = -1, dynamic mapTo}) → Future< Map< String, String> ?> - Fetches row by its name, maps it to other row, and returns map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited