Jonatas

fix onStart called null

1 ## [3.6.2] 1 ## [3.6.2]
2 - Fix more formatting issues 2 - Fix more formatting issues
3 3
  4 +## [3.6.2]
  5 +- Fix more formatting issues
  6 +
4 ## [3.6.1] 7 ## [3.6.1]
5 - Fix formatting issues 8 - Fix formatting issues
6 9
@@ -73,7 +73,7 @@ packages: @@ -73,7 +73,7 @@ packages:
73 path: ".." 73 path: ".."
74 relative: true 74 relative: true
75 source: path 75 source: path
76 - version: "3.6.0" 76 + version: "3.6.3"
77 http_parser: 77 http_parser:
78 dependency: transitive 78 dependency: transitive
79 description: 79 description:
@@ -175,8 +175,10 @@ class GetInstance { @@ -175,8 +175,10 @@ class GetInstance {
175 final key = _getKey(S, tag); 175 final key = _getKey(S, tag);
176 final i = _singl[key].getDependency(); 176 final i = _singl[key].getDependency();
177 if (i is DisposableInterface) { 177 if (i is DisposableInterface) {
178 - i.onStart();  
179 - GetConfig.log('"$key" has been initialized'); 178 + if (i.onStart != null) {
  179 + i.onStart();
  180 + GetConfig.log('"$key" has been initialized');
  181 + }
180 } 182 }
181 } 183 }
182 184
1 name: get 1 name: get
2 description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX. 2 description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX.
3 -version: 3.6.2 3 +version: 3.6.3
4 homepage: https://github.com/jonataslaw/get 4 homepage: https://github.com/jonataslaw/get
5 5
6 environment: 6 environment: