UserFilePreferences.fromJson constructor

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

Creates a user file preferences instance from a JSON map.

Implementation

factory UserFilePreferences.fromJson(Map<String, dynamic> json) {
  return UserFilePreferences(
    imageFormat: json['imageFormat'] as String?,
    archiveFormat: json['archiveFormat'] as String?,
  );
}