DataRefModel.assertRequired constructor
Constructs a new instance of DataRefModel, and asserts that all required parameters are not null.
Implementation
factory DataRefModel.assertRequired({
String? id,
List<String>? collection,
}) {
assert(collection != null);
return DataRefModel(
id: id,
collection: collection,
);
}