platform/angel_serialize_generator/test/models/with_enum.dart

14 lines
317 B
Dart
Raw Normal View History

2018-06-27 05:36:57 +00:00
import 'package:angel_serialize/angel_serialize.dart';
2018-06-27 05:45:46 +00:00
import 'package:collection/collection.dart';
2018-06-27 05:36:57 +00:00
part 'with_enum.g.dart';
part 'with_enum.serializer.g.dart';
@Serializable(autoIdAndDateFields: false)
abstract class _WithEnum {
WithEnumType get type;
2018-06-27 05:45:46 +00:00
List<int> get finalList;
2018-06-27 05:36:57 +00:00
}
enum WithEnumType { a, b, c }