update method Null safety

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

Implementation

Future<int> update(Bean<T> obj) async {
  final sql = ormap.updateSql(trimSql());
  final params = obj.asMap();
  return await ctx.execute(sql, substitutionValues: params);
}