Create a new attachment with the unique id and string value.
id
value
new string({required this.id, required String value}) : stringValue = value;