Skip to main content

checkURLandNavigate method

[Future<[void>]] checkURLandNavigate(

  1. [[String] navigateTo, ]
  2. [[String] argument]

)

This function check the URL and navigate to the respective URL.

params:

  • navigateTo: url
  • argument: message

returns: None

Implementation

Future<void> checkURLandNavigate(String navigateTo, String argument) async 
  1. talawa
  2. set_url_view_model
  3. SetUrlViewModel
  4. checkURLandNavigate method
SetUrlViewModel class