has method

dynamic has(
  1. String name
)

Implementation

has(String name) {
  if (kIsWeb) {
    return hasForWeb(name);
  } else {
    return hasForApp(name);
  }
}