ignore:

true

final

String

verificationCode

Running the code generation utility

When creating json_serializable classes the first time,
you’ll get errors similar to what is shown in the image below.

These errors are entirely normal and are simply because the generated code for
the model class does not exist yet. To resolve this, run the code
generator that generates the serialization boilerplate.

There are two ways of running the code generator.

One-time code generation

By running flutter pub run build_runner build --delete-conflicting-outputs in the project root,
you generate JSON serialization code for your models whenever they are needed.
This triggers a one-time build that goes through the source files, picks the
relevant ones, and generates the necessary serialization code for them.