Would be nice if there were a struct type in Dart like C#.

How about the property is a vec4 and under the hood its doubles or

set  blendState(vec4 value)  { _blendFactor.copy(value); }