Returns URL for save. Defaults to type/id (if id is present).
save
type
id
@protected String urlForSave(id, Map<String, dynamic> params) => id != null ? '$type/$id' : type;