device_market_name 0.0.6 device_market_name: ^0.0.6 copied to clipboard
Small package which return market name for model code e.g. SM-G970F=>Galaxy s10e, iPhone13,2=>iPhone 12. Works for android with gms & iOS devices
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add device_market_name
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
device_market_name: ^0.0.6
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:device_market_name/device_market_name.dart';