fromNative static method

OfflineCacheRegion fromNative(
  1. OfflineCacheRegionNative native
)

Implementation

static OfflineCacheRegion fromNative(OfflineCacheRegionNative native) {
  return OfflineCacheRegion(
      id: native.id,
      name: to_platform.toPlatformString(native.name),
      country: to_platform.toPlatformString(native.country),
      mapkit_geometry_point.PointImpl.fromNative(native.center),
      mapkit_localized_value.LocalizedValueImpl.fromNative(native.size),
      to_platform.toPlatformAbsTimestamp(native.releaseTime),
      parentId: to_platform.toPlatformFromPointerUint32(native.parentId));
}