model property

Future<String> model

Get the model(Phone model or device name) of the native platform

return model(Phone model or device name)

Implementation

static Future<String> get model async {
  final String version = await _channel.invokeMethod('getModel');
  return version;
}