validate static method
Implementation
static bool validate(final Map<String, dynamic> object) {
if (!object.containsKey('\$type')) return false;
return object['\$type'] == 'app.bsky.richtext.facet' ||
object['\$type'] == 'app.bsky.richtext.facet#main';
}