deleteByPk method Null safety

Future<int> deleteByPk(
  1. Bean<T> obj
)

Implementation

Future<int> deleteByPk(Bean<T> obj) {
  final sql = deleteSql(statementByPk());
  final params = obj.asMap();
  return ctx.execute(sql, substitutionValues: params);
}