Skip to content
#

union-types

Here are 26 public repositories matching this topic...

moseskarunia
moseskarunia commented May 22, 2021

Problem

  • @JsonSerializable(createFactory:false) still generates _$classNameFromJson
  • If I haven't write factory ClassName.fromJson(Map<String, dynamic> json) =>_$ClassNameFromJson(json); before running build_runner, it says that it cannot create toJson, and no .g.dart file is generated
  • This is a nested object

To Reproduce

import 'package:freezed_annotation/freezed

Improve this page

Add a description, image, and links to the union-types topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the union-types topic, visit your repo's landing page and select "manage topics."

Learn more