DataRefModel.fromUri constructor
DataRefModel.fromUri(
- Uri? uri
Constructs a new instance of DataRefModel,
from the query parameters of uri
. Throws if the conversion
fails.
Implementation
factory DataRefModel.fromUri(
Uri? uri,
) {
try {
return fromUriOrNull(uri)!;
} catch (e) {
assert(false, '$DataRefModel.fromUri: $e');
rethrow;
}
}