reportTableInfo method

void reportTableInfo(
  1. String table
)

Implementation

void reportTableInfo(String table) async {
  DatabaseDriverTableQueryer queryer = await driver.table(table);
  List<Map<String, dynamic>> results = await queryer.info();

  await _methodChannel.invokeMethod('pluginDatabaseBrowserReportQueryResult', new Map()
    ..putIfAbsent("action", () => "getTableInfo")
    ..putIfAbsent("table", () => table)
    ..putIfAbsent("results", () => results));
}