isStackoverflowQuestionUrl method

bool isStackoverflowQuestionUrl({
  1. String? id,
})

Check string is stackoverflow question url

Implementation

bool isStackoverflowQuestionUrl({String? id}) {
  var o = stackoverflowQuestionUrl;
  if (o == null) return false;
  return (id == null || o.id == id);
}