value method

String? value(
  1. String name
)

Returns the comma-joined value for name, or null.

Implementation

String? value(String name) {
  final all = values(name);
  return all.isEmpty ? null : all.join(', ');
}