createRecord abstract method
Creates a record as map for database inputs and returns the generated document id.
collectionPath
The path to the collection. e.g - "restaurants" - "restaurants/{restaurantId}/menuItems"
Implementation
Future<String?> createRecord(
String collectionPath,
Map<String, dynamic> recordMap,
);