toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (enabledProviders != null) 'enabledProviders': enabledProviders!,
if (providerConfigs != null) 'providerConfigs': providerConfigs!,
if (state != null) 'state': state!,
};