toJson abstract method

Object? toJson([
  1. O? obj,
  2. JsonEncoder? jsonEncoder
])

Returns a JSON.

Implementation

Object? toJson([O? obj, JsonEncoder? jsonEncoder]);