has method

dynamic has(
  1. String name
)

Implementation

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