getValue method

String getValue(
  1. T item
)

Implementation

String getValue(T item) {
  if (this.map != null) {
    return this.map!(item)?.toString() ?? '';
  } else if (item is Map<String, dynamic> && value != null) {
    return item[value]?.toString() ?? '';
  }

  return '';
}