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