toJson abstract method

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

Adds support for the json_serializable package.

Implementation

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