SdkOptions.fromJSON constructor
SdkOptions.fromJSON(
- Map<String, dynamic> data
)
Implementation
factory SdkOptions.fromJSON(Map<String, dynamic> data) {
return SdkOptions(
encryptedFields: EncryptedFieldsConfiguration.fromJSON(data["encryptedFields"]),
saltPasswordWithApplicationId: data["saltPasswordWithApplicationId"] as bool,
useHierarchicalDataOwners: data["useHierarchicalDataOwners"] as bool,
createTransferKeys: data["createTransferKeys"] as bool,
lenientJson: data["lenientJson"] as bool,
);
}