operator [] method

dynamic operator [](
  1. String key
)

Implementation

dynamic operator [](String key) {
  final value = _dataMap[key] ?? '';

  return value;
  // return _dataMap.containsKey(key) ? _dataMap[key] : '';
}