Attachment constructor
Attachment(
- String name
Implementation
Attachment(this.name) {
if (name.isEmpty) throw ArgumentError('name cannot be empty.');
}
Attachment(this.name) {
if (name.isEmpty) throw ArgumentError('name cannot be empty.');
}