platformLevel property Null safety

int platformLevel

Get Platform specific level value

Implementation

int get platformLevel {
  if (Platform.isAndroid) {
    return androidLevel;
  } else if (Platform.isIOS) {
    return iosLevel;
  } else {
    throw("Platform is neither android nor ios");
  }
}