JsonEncoder encoder

Returns the encoder from S to T.

It may be stateful and should not be reused.

Source

JsonEncoder get encoder {
  if (_toEncodable == null) return const JsonEncoder();
  return new JsonEncoder(_toEncodable);
}