toJson method

S? toJson(
  1. D? value
)

Map a value from the Data class to json.

Defaults to doing the same conversion as for Dart -> SQL, mapToSql.

Implementation

S? toJson(D? value) => mapToSql(value);