fromNative static method

SearchPhone fromNative(
  1. SearchPhoneNative native
)

Implementation

static SearchPhone fromNative(SearchPhoneNative native) {
  return SearchPhone(SearchPhoneTypeImpl.fromInt(native.type),
      formattedNumber: to_platform.toPlatformString(native.formattedNumber),
      info: to_platform.toPlatformFromPointerString(native.info),
      country: to_platform.toPlatformFromPointerString(native.country),
      prefix: to_platform.toPlatformFromPointerString(native.prefix),
      ext: to_platform.toPlatformFromPointerString(native.ext),
      number: to_platform.toPlatformFromPointerString(native.number));
}