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