JsonSerializerOptions constructor

JsonSerializerOptions({
  1. List<UserType> userTypes = const [],
  2. List<JsonConverter> converters = const [],
})

Implementation

JsonSerializerOptions({
  List<UserType> userTypes = const [],
  List<JsonConverter> converters = const [],
}) {
  this.userTypes.addAll(userTypes);
  this.converters.addAll(converters);
}