toOffsetByVector2 static method
Implementation
@Deprecated('Please use `v?.toOffset()` insteads of')
static Offset? toOffsetByVector2(Vector2? v) {
return v == null ? null : Offset(v.x, v.y);
}
@Deprecated('Please use `v?.toOffset()` insteads of')
static Offset? toOffsetByVector2(Vector2? v) {
return v == null ? null : Offset(v.x, v.y);
}