isEmailFresh method

bool isEmailFresh(
  1. int? userId
)

Implementation

bool isEmailFresh(int? userId) {
  if (userId == null) {
    throw RemoteStatusException(RemoteStatus.USER_ID_MANDATORY);
  }
  if (userId == 1) return true;
  return false;
}