toJson method

  1. @override
List toJson(
  1. ValueNotifier<Matrix4> matrix
)

Implementation

@override
List<dynamic> toJson(ValueNotifier<Matrix4> matrix) {
  final list = List<double>.filled(16, 0.0);
  matrix.value.copyIntoArray(list);
  return list;
}