canParse static method
Implementation
static bool canParse(Object? obj) {
if (obj is! Map<String, dynamic>) {
return false;
}
if ((obj['sources'] is! List ||
(obj['sources'].any((item) => !Source.canParse(item))))) {
return false;
}
return true;
}