addDailyRoutine function

Future addDailyRoutine(
  1. Map<String, dynamic> payload
)

Implementation

Future addDailyRoutine(Map<String, dynamic> payload) async {
  final addIncome =
  await pocketBase.collection("dailyRoutines").create(body: payload);
  print(addIncome);
}