deviceModel property Null safety
Future method to get device model
Implementation
static Future<String> get deviceModel async {
final model = await _channel.invokeMethod("getModel");
return model == null ? "" : model;
}
Future method to get device model
static Future<String> get deviceModel async {
final model = await _channel.invokeMethod("getModel");
return model == null ? "" : model;
}