JsonConvert<D, J> constructor

const JsonConvert<D, J>({
  1. D fromJson(
    1. J
    )?,
  2. J toJson(
    1. D
    )?,
})

Specifies how to convert a JSON value to a Dart object and vice versa.

Implementation

const JsonConvert({this.fromJson, this.toJson});