isGooglePlusUrl method

bool isGooglePlusUrl({
  1. String? userName,
  2. String? id,
})

Check string is google plus url

Implementation

bool isGooglePlusUrl({String? userName, String? id}) {
  var o = googlePlusUrl;
  if (o == null) return false;
  return (userName == null || o.username == userName) &&
      (id == null || o.id == id);
}