byId method

dynamic byId(
  1. String id
)

Implementation

byId(String id) {
  this.id = id;
  this.filters = [];
  return this.where(attribute: 'id', value: id);
}