hasConstructor method

  1. @override
bool hasConstructor(
  1. String name
)
override

Returns true if this type has a constructor with the given name.

Implementation

@override
bool hasConstructor(String name) {
  return element.hasConstructor(name);
}