Object? operator [](String key) { if (!fields.keys.contains(key)) { return ''; } var value = fields[key]; if (onGet != null) { value = onGet!(value); } return value; }