Map<String, dynamic> toJson() => { "viewPluginType": viewPluginTypeValues.reverse[viewPluginType], };