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