Whether the function is an entry point, i.e. a top-level function and has the name main.
main
@override bool get isEntryPoint => name == FunctionElement.kMainFunctionName;