JsonObject<T extends DataModel> constructor

JsonObject<T extends DataModel>(
  1. String name, {
  2. bool isRequired = false,
  3. T? defaultValue,
})

Implementation

JsonObject(
  super.name, {
  super.isRequired,
  super.defaultValue,
}) {
  genericType = T;
}