getBrandName method

  1. @override
Future<String?> getBrandName()
override

Implementation

@override
Future<String?> getBrandName() async {
  try {
    final brandName =
        await methodChannel.invokeMethod<String>('getBrandName');
    return brandName;
  } on PlatformException catch (e) {
    debugPrint('Failed to get device id: ${e.message}');
    return null;
  }
}