update method

void update(
  1. dynamic entity
)
inherited

更新数据对象

Implementation

void update(T entity) {
  if (entity != null) {
    _entity = entity;
  }
}