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");
}
}