PersonalizationDesignPreferences.fromJson constructor

PersonalizationDesignPreferences.fromJson(
  1. Object? json
)

Implementation

factory PersonalizationDesignPreferences.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PersonalizationDesignPreferences(
      isDefault: (map['is_default'] as bool));
}