platform/angel_serialize_generator/test/models/with_enum.dart

12 lines
291 B
Dart
Raw Normal View History

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