fromNative static method

SearchTimeRange fromNative(
  1. SearchTimeRangeNative native
)

Implementation

static SearchTimeRange fromNative(SearchTimeRangeNative native) {
  return SearchTimeRange(
      isTwentyFourHours:
          to_platform.toPlatformFromPointerBool(native.isTwentyFourHours),
      from: to_platform.toPlatformFromPointerUint32(native.from),
      to: to_platform.toPlatformFromPointerUint32(native.to));
}