Subtype constructor

Subtype(
  1. String name,
  2. JsonType type,
  3. dynamic value,
  4. {JsonType listType}
)

Implementation

Subtype(String name, this.type, this.value, {this.listType}) {
  this._isNullable = name.contains('?');
  this._hasDependencies = name.contains('\$');
  this._name = _refactorName(name);
}