isPhysicalIosUdid function

bool isPhysicalIosUdid(
  1. String id
)

A physical iPhone's UDID (00008130-000C59A60261001C), as opposed to a simulator's 36-character one.

Implementation

bool isPhysicalIosUdid(String id) => RegExp(r'^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{16}$').hasMatch(id);