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