(fieldPath: string | number | FieldPath)
| 306 | } |
| 307 | |
| 308 | get<fieldType extends DocumentFieldType>(fieldPath: string | number | FieldPath): fieldType { |
| 309 | if (fieldPath instanceof FieldPath) { |
| 310 | return deserializeField(this.native.valueForField(fieldPath.native)); |
| 311 | } else { |
| 312 | return deserializeField(this.native.valueForField(fieldPath)); |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | toJSON() { |
| 317 | return { |
nothing calls this directly
no test coverage detected