First, you will need to add a git dependency on pub to your pubspec.yaml:
dev_dependencies:
pub:
git:
url: https://github.com/dart-lang/pub/
ref: master| void main() { | |
| print(add << null << 1); | |
| print(add << 1 << null); | |
| print(add << 1 << 2); | |
| } | |
| int add(int a, int b) => a + b; | |
| extension IfNotNull<R, T extends Object> on R Function(T)? { | |
| R? operator <<(T? input) { |
| import 'package:analyzer/analyzer.dart'; | |
| main() {} |
First, you will need to add a git dependency on pub to your pubspec.yaml:
dev_dependencies:
pub:
git:
url: https://github.com/dart-lang/pub/
ref: master| export 'package:guinness/guinness.dart' | |
| - hide Expect, expect, NotExpect, beforeEach, it, iit, xit; | |
| + hide | |
| + Expect, | |
| + expect, | |
| + NotExpect, | |
| + beforeEach, | |
| + it, | |
| + iit, | |
| + xit, |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="//www.polymer-project.org/platform.js"></script> | |
| <script src="http://www.polymer-project.org/polymer.js"></script> | |
| <title>Hash Link Test</title> | |
| </head> |
| <?xml version="1.0" encoding="utf-8"?> | |
| <extension version="1.6.0" client="site" type="plugin" group="content" method="upgrade"> | |
| <name>Google Maps</name> | |
| <author>Jacob MacDonald</author> | |
| <creationDate>June 2010</creationDate> | |
| <copyright></copyright> | |
| <license>GNU/GPL</license> | |
| <authorEmail>[email protected]</authorEmail> | |
| <authorUrl>www.jacobmacdonald.com</authorUrl> | |
| <version>2.0</version> |