isTwitterStatusUrl method

bool isTwitterStatusUrl({
  1. String? userName,
  2. String? tweetId,
})

Check string is twitter status url

Implementation

bool isTwitterStatusUrl({String? userName, String? tweetId}) {
  var o = twitterStatusUrl;
  if (o == null) return false;
  return (userName == null || o.userName == userName) &&
      (tweetId == null || o.tweetId == tweetId);
}