whereByStatus method

Iterable<ModelType> whereByStatus(
  1. bool? status
)

Implementation

Iterable<ModelType> whereByStatus(bool? status) =>
    where((element) => status == null || element.status == status);