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