static Network pickNetworkTypeByName(String name) => NetworkType.all.where((_) => _.name == name).first;