DocRef<T extends Object?>.withReference constructor
DocRef<T extends Object?>.withReference (
- dynamic reference, {
- FirestoreConverter<
T> ? converter,
Implementation
DocRef.withReference(dynamic reference, {FirestoreConverter<T>? converter}) {
if (reference is firedart.DocumentReference) {
_ref_windows = reference;
} else {
_ref_original = reference;
}
_converter = converter;
}