Returns a restored matrix from a serializable map
factory Matrix.fromJson(Map<String, dynamic> json) => fromMatrixJson(json)!;