operator [] method

dynamic operator [](
  1. String key
)

Implementation

dynamic operator [](String key) {
  if (!_rawDocument.fields.containsKey(key)) return null;
  return TypeUtil.decode(_rawDocument.fields[key]!, _gateway);
}