fromJson method

D? fromJson(
  1. S? json
)

Map a value from json to something understood by the data class.

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

Implementation

D? fromJson(S? json) => mapToDart(json);