findBy method
Implementation
Future<T> findBy(column, value) => this
.add(where(column).equals(value))
.first()
.catchError((e) => throw RecordNotFoundException());
Future<T> findBy(column, value) => this
.add(where(column).equals(value))
.first()
.catchError((e) => throw RecordNotFoundException());