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