fromComponentString static method

ASN1IpAddress fromComponentString(
  1. String path, {
  2. int tag = IP_ADDRESS,
})

Create an ASN1IpAddress from an IP Address String such as '192.168.1.1'

Implementation

static ASN1IpAddress fromComponentString(String path,
        {int tag = IP_ADDRESS}) =>
    fromComponents(path.split('.').map(int.parse).toList(), tag: tag);