nexus/lib/helpers/extensions/distributor_name.dart

5 lines
164 B
Dart

extension DistributorName on String {
String get distributorName => startsWith("nexus.federated.nexus")
? "Google Play Services"
: split(".").last;
}