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