StandardJsonPlugin constructor

StandardJsonPlugin({
  1. String discriminator = r'$',
  2. String valueKey = '',
  3. Iterable<Type>? typesToLeaveAsList,
})

Implementation

StandardJsonPlugin({
  this.discriminator = r'$',
  this.valueKey = '',
  Iterable<Type>? typesToLeaveAsList,
}) : typesToLeaveAsList = BuiltSet<Type>(
          {BuiltList, BuiltSet, JsonObject, ...?typesToLeaveAsList});