firstWhereByStatus method

ModelType? firstWhereByStatus(
  1. bool? status
)

Implementation

ModelType? firstWhereByStatus(bool? status) =>
    firstWhereOrNull((element) => status == null || element.status == status);