getEncoderFor<T> method

ExtraEncoder? getEncoderFor<T>(
  1. dynamic value
)

Implementation

ExtraEncoder? getEncoderFor<T>(dynamic value) {
  for (final encoder in _encoders) {
    if (encoder.match(value)) {
      return encoder;
    }
  }
  return null;
}