toJson method
Serializes a view preset to JSON.
Implementation
Json toJson() => {
"name": name,
"views" : views,
"horizontal1" : horizontal1,
"horizontal2" : horizontal2,
"horizontal3" : horizontal3,
"horizontal4" : horizontal4,
"vertical1" : vertical1,
"vertical2" : vertical2,
};