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