PersonalizationDesignsPreferences.fromJson constructor
PersonalizationDesignsPreferences.fromJson(
- Object? json
Implementation
factory PersonalizationDesignsPreferences.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PersonalizationDesignsPreferences(
isDefault: map['is_default'] == null ? null : (map['is_default'] as bool),
isPlatformDefault: map['is_platform_default'] == null
? null
: (map['is_platform_default'] as bool),
);
}