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