We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14a856c commit 9e55614Copy full SHA for 9e55614
pkgs/native_assets_builder/test_data/drop_dylib_link/bin/drop_dylib_link.dart
@@ -5,5 +5,11 @@
5
import 'package:drop_dylib_link/drop_dylib_link.dart';
6
7
void main(List<String> arguments) {
8
- print('Hello world: ${MyMath.add(3, 4)}!');
+ if (arguments.first == 'add') {
9
+ print('Hello world: ${MyMath.add(3, 4)}!');
10
+ } else if (arguments.first == 'multiply') {
11
+ print('Hello world: ${MyMath.multiply(3, 4)}!');
12
+ } else {
13
+ throw ArgumentError('Must pass either "add" or "multiply"');
14
+ }
15
}
0 commit comments