UserSettingsConfig.fromJson constructor
UserSettingsConfig.fromJson(
- Map<
String, dynamic> jsonSerialization, - SerializationManager serializationManager
Implementation
factory UserSettingsConfig.fromJson(
Map<String, dynamic> jsonSerialization,
_i1.SerializationManager serializationManager,
) {
return UserSettingsConfig(
canSeeUserName: serializationManager
.deserialize<bool>(jsonSerialization['canSeeUserName']),
canSeeFullName: serializationManager
.deserialize<bool>(jsonSerialization['canSeeFullName']),
canEditUserName: serializationManager
.deserialize<bool>(jsonSerialization['canEditUserName']),
canEditFullName: serializationManager
.deserialize<bool>(jsonSerialization['canEditFullName']),
canEditUserImage: serializationManager
.deserialize<bool>(jsonSerialization['canEditUserImage']),
);
}