dumpCurrentRowToString method

Future<String> dumpCurrentRowToString(
  1. Cursor cursor
)

Prints the contents of a Cursor's current row to a string.

See: https://developer.android.com/reference/android/database/DatabaseUtils#dumpCurrentRowToString(android.database.Cursor)

Implementation

static Future<String> dumpCurrentRowToString(final Cursor cursor) async {
  assert(Platform.isAndroid);

  final buffer = StringBuffer();
  await dumpCurrentRowToStringBuffer(cursor, buffer);
  return buffer.toString();
}