Fragment.fromParts constructor Null safety

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

Creates a Fragment 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 Fragment.fromParts(List<Object> parts) =>
    Fragment(_combineParts(parts));