fromNative static method

MapLoadStatistics fromNative(
  1. MapLoadStatisticsNative native
)

Implementation

static MapLoadStatistics fromNative(MapLoadStatisticsNative native) {
  return MapLoadStatistics(
      to_platform.toPlatformTimeInterval(native.curZoomGeometryLoaded),
      to_platform.toPlatformTimeInterval(native.curZoomPlacemarksLoaded),
      to_platform.toPlatformTimeInterval(native.curZoomLabelsLoaded),
      to_platform.toPlatformTimeInterval(native.delayedGeometryLoaded),
      to_platform.toPlatformTimeInterval(native.curZoomModelsLoaded),
      to_platform.toPlatformTimeInterval(native.fullyLoaded),
      to_platform.toPlatformTimeInterval(native.fullyAppeared),
      renderObjectCount: native.renderObjectCount,
      tileMemoryUsage: native.tileMemoryUsage);
}