insert method

Future<bool> insert(
  1. Map<String, Cell> map
)

Updates cells with values of map.

map - map containing cells with values to insert (not null nor empty)

Returns Future true in case of success.

Throws GSheetsException.

Implementation

Future<bool> insert(Map<String, Cell> map) async {
  return _cells.insert(map.values.toList()..sort());
}