toJson abstract method

Object? toJson(
  1. Object? toJsonT(
    1. T
    )
)

Converts to Json.

Json serialization support for json_serializable with @JsonSerializable.

Implementation

Object? toJson(Object? Function(T) toJsonT);