2018-12-08 20:53:49 +00:00
|
|
|
import 'dart:convert';
|
|
|
|
import 'dart:typed_data';
|
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';
|
|
|
|
|
|
|
|
@Serializable(autoIdAndDateFields: false)
|
|
|
|
abstract class _WithEnum {
|
|
|
|
WithEnumType get type;
|
2018-06-27 05:45:46 +00:00
|
|
|
|
|
|
|
List<int> get finalList;
|
2018-12-08 20:53:49 +00:00
|
|
|
|
|
|
|
Uint8List get imageBytes;
|
2018-06-27 05:36:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum WithEnumType { a, b, c }
|