jsonBuilder function

Builder jsonBuilder (
  1. BuilderOptions options
)

Builder calling the method generate on a JsonGenerator instance. JsonGenerator processes classes annotated with @GenerateFromJson. It generates the function _$<ClassName>FromJson.

Implementation

Builder jsonBuilder(BuilderOptions options) =>
    SharedPartBuilder([JsonGenerator()], 'json_builder');