toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (secretsProvider != null) 'secretsProvider': secretsProvider,
if (encryptedKey != null) 'encryptedKey': encryptedKey,
if (encryptionSalt != null) 'encryptionSalt': encryptionSalt,
if (config != null) 'config': config,
...extras,
};
}