toJSONWithID method
Implementation
Map<String, dynamic> toJSONWithID()=>{
'id': id,
'name': name,
'description': description,
'href': href,
'imgUrl': imgUrl,
'ownerId': ownerId,
'public': public,
'chamberPresets': chamberPresets?.map((appReleaseItem) => appReleaseItem.toJSON()).toList() ?? [],
'position': jsonEncode(position),
'ownerType': ownerType.name,
'isModifiable': isModifiable
};