flutter Graphql Login

220 views Asked by At

Future login() async { insert ( <String, dynamic> { "username": useremail.text, "password": password.text } );

          x = await  result.data.toString();
         if(x == null) {

           _showInSnackBar("somthing went wrong");


         }
         if(x != null)
         {
           _showInSnackBar("success");
         }

    }
0

There are 0 answers