fromNative static method

ScreenRect fromNative(
  1. ScreenRectNative native
)

Implementation

static ScreenRect fromNative(ScreenRectNative native) {
  return ScreenRect(ScreenPointImpl.fromNative(native.topLeft),
      ScreenPointImpl.fromNative(native.bottomRight));
}