insertOne abstract method

Future<int> insertOne({
  1. required T entity,
  2. Database? database,
})

Implementation

Future<int> insertOne({required T entity, Database? database});