modelType property
ModelType<Model> ?
modelType
final
Only required for custom decoding logic. The response will be decoded to this type. For a request of a single instance (like get, update, create or delete):
modelType: Blog.classType
Or for a list request:
modelType: const PaginatedModelType(Blog.classType)
See https://docs.amplify.aws/lib/graphqlapi/advanced-workflows/q/platform/flutter/.
Implementation
final ModelType? modelType;