# SaveImageOptions.fromJson constructor

SaveImageOptions.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory SaveImageOptions.fromJson(Map<String, dynamic> json) =>
        SaveImageOptions(
          quality: json.containsKey("quality") ? (json["quality"] as int) : -1,
          encryptionMode: json.containsKey("encryptionMode")
              ? EncryptionMode.values.byName(json["encryptionMode"] as String)
              : EncryptionMode.IF_AVAILABLE,
        );