removeFunctionType method

String removeFunctionType()

Return the String of type Type functionName() without function type.

Implementation

String removeFunctionType() {
  final String? functionType = getFunctionType();
  return functionType != null ? substring(functionType.length).trim() : this;
}