Map<String, dynamic> toIdListMap() => <String, dynamic>{ "ids": List<dynamic>.from(ids.map((String x) => x)), };