resultSetToMap method

Map<String, dynamic> resultSetToMap(
  1. ResultSet resultSet
)

Implementation

Map<String, dynamic> resultSetToMap(ResultSet resultSet) {
  var resultSetMap = <String, dynamic>{};

  resultSetMap['columnNames'] = resultSet.columnNames;
  resultSetMap['tableNames'] = resultSet.tableNames;
  resultSetMap['rows'] = resultSet.rows;

  return resultSetMap;
}