add method

void add(
  1. String format,
  2. DataTransformer transformer
)

Add a transformer to this schema that can map data of a specific format.

Implementation

void add(String format, DataTransformer transformer) =>
    transformers[format] = transformer;