Matrix4.translation(Vector3 translation)

Translation matrix.

Source

factory Matrix4.translation(Vector3 translation) => new Matrix4.zero()
  ..setIdentity()
  ..setTranslation(translation);