Ipv6.fromJson constructor

Ipv6.fromJson(
  1. String value
)

Implementation

factory Ipv6.fromJson(String value) {
  return Ipv6(
      value.split(":").map<int>((e) => int.parse(e, radix: 16)).toList());
}