Sign in
dart
/
native
/
HEAD
/
.
/
pkgs
/
objective_c
/
example
/
command_line
/
lib
/
main.dart
blob: 6bf9da655a0089a6b2749d6c83178ad74cd27748 [
file
] [
log
] [
blame
]
import
'dart:io'
;
import
'package:objective_c/objective_c.dart'
;
void
main
()
{
// Objective-C is only supported on macOS and iOS.
assert
(
Platform
.
isMacOS
||
Platform
.
isIOS
);
print
(
'Hello World'
.
toNSString
().
toDartString
());
}