platform/angel_serialize/lib/angel_serialize.dart
2017-07-10 11:15:09 -04:00

19 lines
No EOL
405 B
Dart

/// Excludes a field from being excluded.
class Exclude {
const Exclude();
}
const Exclude exclude = const Exclude();
/// Marks a class as eligible for serialization.
class Serializable {
const Serializable();
}
const Serializable serializable = const Serializable();
/// Specifies an alias for a field within its JSON representation.
class Alias {
final String name;
const Alias(this.name);
}