Ipv4.fromJson constructor

Ipv4.fromJson(
  1. String value
)

Implementation

factory Ipv4.fromJson(String value) {
  return Ipv4(value.split(".").map<int>((e) => int.parse(e)).toList());
}