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