Jonny Borges
Committed by GitHub

Merge pull request #674 from Goddchen/bugfix/documentation

Fix some typos in documentation
@@ -219,7 +219,7 @@ void main() { @@ -219,7 +219,7 @@ void main() {
219 Send data on route name 219 Send data on route name
220 220
221 ```dart 221 ```dart
222 -Get.toNamed("/second/34954"); 222 +Get.toNamed("/profile/34954");
223 ``` 223 ```
224 224
225 On second screen take the data by parameter 225 On second screen take the data by parameter
@@ -357,7 +357,7 @@ class User() { @@ -357,7 +357,7 @@ class User() {
357 // on the controller file 357 // on the controller file
358 final user = User().obs; 358 final user = User().obs;
359 // when you need to update the user variable: 359 // when you need to update the user variable:
360 -user.update( (user) { // this parameter is the class itself taht you want to update 360 +user.update( (user) { // this parameter is the class itself that you want to update
361 user.name = 'Jonny'; 361 user.name = 'Jonny';
362 user.age = 18; 362 user.age = 18;
363 }); 363 });