updateByPk method Null safety

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

Implementation

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