platformValues static method

List<String> platformValues()

Implementation

static List<String> platformValues() {
  if (Platform.isAndroid) {
    return const AndroidMediaColumns().getValues();
  } else if (Platform.isIOS || Platform.isMacOS) {
    return const DarwinColumns().getValues();
  } else if (PlatformUtils.isOhos) {
    return const OhosColumns().getValues();
  } else {
    throw UnsupportedError('Unsupported platform with platformValues');
  }
}