first property
Implementation
Length get first {
if (this.length > 0) {
return JS('Length', '#[0]', this);
}
throw new StateError("No elements");
}
Length get first {
if (this.length > 0) {
return JS('Length', '#[0]', this);
}
throw new StateError("No elements");
}