Field.from constructor

Field.from(
  1. BaseModel? other
)

Implementation

factory Field.from(
  BaseModel? other,
) {
  try {
    return fromOrNull(other)!;
  } catch (e) {
    assert(false, 'Field.from: $e');
    rethrow;
  }
}