create method
Create.
Implementation
@override
void create(NmCommandSet record) {
if (byId(record.id) != null) {
throw NmCommandSetRepositoryException('Command set ${record.id} already exists.');
}
_records = [..._records, record];
}
Create.
@override
void create(NmCommandSet record) {
if (byId(record.id) != null) {
throw NmCommandSetRepositoryException('Command set ${record.id} already exists.');
}
_records = [..._records, record];
}