transform method Null safety

void transform(
  1. Float64List matrix4
)

Multiply the current transform by the specified 4⨉4 transformation matrix specified as a list of values in column-major order.

Implementation

void transform(Float64List matrix4) {
  assert(matrix4 != null);
  if (matrix4.length != 16) {
    throw ArgumentError('"matrix4" must have 16 entries.');
  }
  _transform(matrix4);
}