fromNative static method

SearchToponymResultMetadataResponseInfo fromNative(
  1. SearchToponymResultMetadataResponseInfoNative native
)

Implementation

static SearchToponymResultMetadataResponseInfo fromNative(
    SearchToponymResultMetadataResponseInfoNative native) {
  return SearchToponymResultMetadataResponseInfo(
      SearchToponymResultMetadataSearchModeImpl.fromInt(native.mode),
      accuracy: to_platform.toPlatformFromPointerDouble(native.accuracy));
}