getExtension method

dynamic getExtension(
  1. dynamic name
)

Implementation

getExtension(name) {
  return has(name);
}