DisplayMappingObject constructor
DisplayMappingObject({
- String? text,
- List<
JsonPath> ? path, - SchemaObject? schema,
- 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');
}
}