canParse static method
Implementation
static bool canParse(Object? obj) {
if (obj is! Map<String, dynamic>) {
return false;
}
if (obj['conditionDescription'] is! String?) {
return false;
}
if (obj['default'] is! bool?) {
return false;
}
if (obj['description'] is! String?) {
return false;
}
if (obj['filter'] is! String) {
return false;
}
if (obj['label'] is! String) {
return false;
}
if (obj['supportsCondition'] is! bool?) {
return false;
}
return true;
}