fuse method

Converter<Object, T> fuse<T>(Converter<String, T> other)

Fuses this with other.

Encoding with the resulting converter is equivalent to converting with this before converting with other.

Source

Converter<Object, T> fuse<T>(Converter<String, T> other) {
  if (other is Utf8Encoder) {
    return new JsonUtf8Encoder(indent, _toEncodable)
        as dynamic/*=Converter<Object, T>*/;
  }
  return super.fuse<T>(other);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-convert/JsonEncoder/fuse.html