Quaternion.fromJson constructor

Quaternion.fromJson(
  1. List<double>? json
)

Implementation

Quaternion.fromJson(List<double>? json) {
  if (json != null) {
    _x = json[0];
    _y = json[1];
    _z = json[2];
    _w = json[3];
  }
}