2018-12-31 01:18:44 +00:00
|
|
|
import 'package:angel_serialize/angel_serialize.dart';
|
|
|
|
import 'package:collection/collection.dart';
|
|
|
|
part 'goat.g.dart';
|
|
|
|
|
2019-01-09 19:25:05 +00:00
|
|
|
@serializable
|
2018-12-31 01:18:44 +00:00
|
|
|
abstract class _Goat {
|
2019-01-07 00:56:05 +00:00
|
|
|
@SerializableField(defaultValue: 34)
|
2018-12-31 01:18:44 +00:00
|
|
|
int get integer;
|
|
|
|
|
2019-01-07 00:56:05 +00:00
|
|
|
@SerializableField(defaultValue: [34, 35])
|
2018-12-31 01:18:44 +00:00
|
|
|
List<int> get list;
|
|
|
|
}
|