Converts this model into a JSON map, including the ID.
Map<String, dynamic> toJson() => { 'id': id, ...toMap(), };