fromNative static method

ImagesImageDataDescriptor fromNative(
  1. ImagesImageDataDescriptorNative native
)

Implementation

static ImagesImageDataDescriptor fromNative(
    ImagesImageDataDescriptorNative native) {
  return ImagesImageDataDescriptor(
      imageId: to_platform.toPlatformString(native.imageId),
      primaryColor:
          to_platform.toPlatformFromPointerColor(native.primaryColor),
      secondaryColor:
          to_platform.toPlatformFromPointerColor(native.secondaryColor),
      tertiaryColor:
          to_platform.toPlatformFromPointerColor(native.tertiaryColor));
}