PrivacySchema class

A default DatumTransformerSchema for privacy transformers

Inheritance

Constructors

PrivacySchema()

Properties

hashCode int
The hash code for this object.
no setterinherited
namespace String
The type of namespace that this package can transform to (see e.g. NameSpace for pre-defined namespaces).
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transformers Map<String, DatumTransformer>
A map of transformers in this schema, indexed by the data type they can transform.
no setterinherited

Methods

add(String type, DatumTransformer transformer) → void
Add a transformer to this schema based on its type mapped to its String.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRegister() → void
Callback method when this schema is being registered.
override
toString() String
A string representation of this object.
inherited
transform(Datum datum) Datum
Transform the datum according to the transformer for its data type.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

DEFAULT → const String