(field: FIRFieldPath)
| 944 | } |
| 945 | |
| 946 | static fromNative(field: FIRFieldPath) { |
| 947 | if (field instanceof FIRFieldPath) { |
| 948 | const path = new FieldPath([], true); |
| 949 | path._native = field; |
| 950 | path._addToMap(); |
| 951 | return path; |
| 952 | } |
| 953 | return null; |
| 954 | } |
| 955 | |
| 956 | get native() { |
| 957 | return this._native; |