DisplayMappingObject constructor

DisplayMappingObject({
  1. String? text,
  2. List<JsonPath>? path,
  3. SchemaObject? schema,
  4. String? fallback,
})

Implementation

DisplayMappingObject({this.text, this.path, this.schema, this.fallback}) {
  if (path == null && text == null) {
    throw Exception('Must contain either pth or text');
  }
}