core.Map<core.String, core.dynamic> toJson() => { if (childrenObjectIds != null) 'childrenObjectIds': childrenObjectIds!, if (groupObjectId != null) 'groupObjectId': groupObjectId!, };