operator [] method

String? operator [](
  1. String path
)

The trimmed value at the canonical path; null when missing or empty.

Implementation

String? operator [](String path) {
  final value = values[path]?.trim();
  return value == null || value.isEmpty ? null : value;
}