ReferencedModel.of constructor
ReferencedModel.of(
- ReferencedModel another
Constructs a new instance of ReferencedModel,
from the fields of another
instance. Throws if the conversion fails.
Implementation
factory ReferencedModel.of(
ReferencedModel another,
) {
try {
return ofOrNull(another)!;
} catch (e) {
assert(false, '$ReferencedModel.of: $e');
rethrow;
}
}