FunctionBody constructor Null safety

FunctionBody(
  1. String content
)

Implementation

factory FunctionBody(String content) {
  var body = _withParserAndToken(
      content,
      (parser, _) => parser.parseFunctionBody(
          false, ParserErrorCode.EXPECTED_BODY, false));
  return FunctionBody._(body);
}