platform/angel_serialize_generator/test/models/goat.dart
2019-01-09 14:25:05 -05:00

12 lines
286 B
Dart

import 'package:angel_serialize/angel_serialize.dart';
import 'package:collection/collection.dart';
part 'goat.g.dart';
@serializable
abstract class _Goat {
@SerializableField(defaultValue: 34)
int get integer;
@SerializableField(defaultValue: [34, 35])
List<int> get list;
}