Created
August 25, 2021 13:12
-
-
Save RamadhanAmizudin/bf7ee920ac9f2a448c4fd2e7147e4229 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
final whiteListURL = [ | |
"vxcert.moh.gov.my", | |
"action.openattestation.com", | |
"www.verify.gov.sg" | |
]; | |
final u = Uri.parse("http://127.1.1.1:127.2.2.2:80/"); | |
if(whiteListURL.contains(u.host)) { | |
print("ada"); | |
} else { | |
print("xda"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment