FunctionBody.fromParts constructor Null safety

FunctionBody.fromParts(
  1. List<Object> parts
)

Creates an Expression from parts, which must be of type Code List<Code> or String.

When a List<Code> is encountered they are joined by a comma.

Implementation

factory FunctionBody.fromParts(List<Object> parts) =>
    FunctionBody(_combineParts(parts));