View test.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
print('hello world'); | |
void myHigherOrderFunction(String message, (9, 9)); | |
} | |
// coba 1 | |
// void myHigherOrderFunction(String message,Function printLambda = (int a, int b) { | |
// print('This is lambda function'); | |
// }) { |
View test1.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
print('hello world'); | |
void myHigherOrderFunction(String message, (9, 9)); | |
} | |
// coba 1 | |
// void myHigherOrderFunction(String message,Function printLambda = (int a, int b) { | |
// print('This is lambda function'); | |
// }) { |
View impifict-interface-learn.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
var cbr = new Cbr125(); | |
print(cbr.merkBan()); | |
} | |
abstract class Motor { | |
merkBan() {} | |
merkOli() {} | |
} |