DbRecord<T> constructor
DbRecord<T> (
- String key,
- T value
Default constructor
Implementation
DbRecord(this.key, this.value) {
if (!(value is T)) {
throw ArgumentError("Provide a value of type $T for record $key");
}
}