toJson<T> method Null safety

dynamic toJson<T>(
  1. T value
)

Converts the value to something that can be passed to JsonCodec.encode.

Implementation

dynamic toJson<T>(T value);