getBrandName method

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

Implementation

@override
Future<String> getBrandName() async {
  try {
    return await methodChannel.invokeMethod<String>('getBrandName') ??
        'invalid';
  } on MissingPluginException catch (_) {
    throw MissingPluginException(
        'No method found for getBrandName() on channel');
  }
}