wip: add provider generator.

This commit is contained in:
2021-09-18 18:28:35 +08:00
parent 1efc737284
commit 9fa94e38a7
14 changed files with 228 additions and 78 deletions
@@ -0,0 +1,3 @@
extension CompareExtension on Object? {
bool diff(other) => this != null && this != other;
}
+12
View File
@@ -0,0 +1,12 @@
extension SoutExtension on Object? {
void sout() {
switch (this.runtimeType) {
case String:
return print(this);
case Null:
return print(null);
default:
return print(this.toString());
}
}
}