platform/lib/angel_serialize.dart
2017-06-16 21:26:19 -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);
}