fromJson returns a instance of Network from a json string.
factory Network.fromJson(String source) => Network.fromMap(json.decode(source));