transform method

dynamic transform(
  1. Object? json
)

Transforms json using chain operations.

Implementation

dynamic transform(Object? json) {
  var transform = computeTransformation(json);
  if (_then != null) {
    for (var t in _then!) {
      transform = t.transform(transform);
    }
  }
  return transform;
}