OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import 'dart:typed_data' show ByteData; | 5 import 'dart:typed_data' show ByteData; |
6 | 6 |
7 import 'address_book.capnp.dart'; | 7 import 'address_book.capnp.dart'; |
8 import '../lib/message.dart'; | 8 import '../lib/message.dart'; |
9 import '../lib/serialize.dart'; | 9 import '../lib/serialize.dart'; |
10 | 10 |
11 // TODO(kasperl): Avoid clashing with names in dart:core. | 11 // TODO(kasperl): Avoid clashing with names in dart:core. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 print(' unemployed'); | 71 print(' unemployed'); |
72 } else if (person.employmentIsEmployer) { | 72 } else if (person.employmentIsEmployer) { |
73 print(' employer: ${person.employmentEmployer}'); | 73 print(' employer: ${person.employmentEmployer}'); |
74 } else if (person.employmentIsSchool) { | 74 } else if (person.employmentIsSchool) { |
75 print(' student at: ${person.employmentSchool}'); | 75 print(' student at: ${person.employmentSchool}'); |
76 } else if (person.employmentIsSelfEmployed) { | 76 } else if (person.employmentIsSelfEmployed) { |
77 print(' self-employed'); | 77 print(' self-employed'); |
78 } | 78 } |
79 } | 79 } |
80 } | 80 } |
OLD | NEW |