Skip to content
Clone
2f5d35e
28 lines 505 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Flutter;
impl Platform for Flutter {
fn id(&self) -> &'static str {
"flutter"
}
fn name(&self) -> &'static str {
"Flutter"
}
fn category(&self) -> Category {
Category::Dev
}
fn domains(&self) -> &'static [&'static str] {
&["flutter.dev", "dart.dev"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Flutter = Flutter;