ohosColumns method

Future<List<String>> ohosColumns()
inherited

Implementation

Future<List<String>> ohosColumns() async {
  final result = await _channel.invokeMethod(
    PMConstants.mColumnNames,
  );
  if (result is List) {
    return result.map((e) => e.toString()).toList();
  }
  return <String>[];
}