KeyElement constructor
KeyElement(
- String kind,
- dynamic id
Implementation
KeyElement(this.kind, this.id) {
if (id != null) {
if (id is! int && id is! String) {
throw ArgumentError("'id' must be either null, a String or an int");
}
}
}