You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
580 B
Dart
19 lines
580 B
Dart
// import 'package:cloud_firestore/cloud_firestore.dart';
|
|
|
|
void postFailureResponse({
|
|
required dynamic doctorId,
|
|
required String url,
|
|
required String request,
|
|
required String response,
|
|
required String exception,
|
|
}) async {
|
|
// Map<String, String> data = {
|
|
// "url" : url,
|
|
// "request" : request,
|
|
// "response" : response,
|
|
// "exception" : exception
|
|
// };
|
|
// final firestore = FirebaseFirestore.instance;
|
|
// final collectionRef = firestore.collection(doctorId.toString());
|
|
// await collectionRef.doc(DateTime.now().toIso8601String()).set(data);
|
|
} |