createState method
override
idea was to make it rich if the string is json decodeable (similar to how its currently done in CheckPointDefects
)
Implementation
// const DetailsPage.dynamic(
// {Key? key,
// required this.title,
// required String details,
// required void Function(String) onChanged})
// : super(key: key);
@override
State<DetailsPage> createState() => _DetailsPageState();