distinct method

List distinct(
  1. String fieldName
)

Implementation

List<dynamic> distinct(String fieldName) {
  final response = _harnCollection.distinct(fieldName).map((e) => e).toList();
  harnLog.register({"distinct": response});
  return response;
}