NexGuardFileMarkerSettings.fromJson constructor

NexGuardFileMarkerSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NexGuardFileMarkerSettings.fromJson(Map<String, dynamic> json) {
  return NexGuardFileMarkerSettings(
    license: json['license'] as String?,
    payload: json['payload'] as int?,
    preset: json['preset'] as String?,
    strength: (json['strength'] as String?)?.toWatermarkingStrength(),
  );
}