toJson method

  1. @override
S toJson(
  1. D value
)
override

Map a value from the Data class to json.

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

Implementation

@override
S toJson(D value) => toSql(value);