RxStatus.error constructor Null safety

RxStatus.error(
  1. [String? message]
)

Implementation

factory RxStatus.error([String? message]) {
  return RxStatus._(isError: true, errorMessage: message);
}