toJson method

String toJson({
  1. List<String>? columns,
  2. bool includeMissingValue = false,
})

to json helper.

Implementation

String toJson({List<String>? columns, bool includeMissingValue = false}) =>
    jsonEncode(
        toMap(columns: columns, includeMissingValue: includeMissingValue));